0

I have added a friend request (Add To Contact) with the following command.

sudo ejabberdctl add_rosteritem rohit localhost test localhost test none none

And While getting the contact it showing as below,

sudo ejabberdctl get_roster rohit localhost


ashwin@localhost ashwin@localhost both none

girish@localhost girish@localhost none out

test@localhost none none none none


But test@localhost is displaying neither in the "Pending contacts" nor in the "Contact Request" in Web client GUI for both rohit and test user.

Ghost Rider
  • 175
  • 2
  • 10
  • Try adding rohit@localhost to test@localhost's roster as well, so that the subscription is mutual, then check again. I think the reason it's not showing might be because the subscription is only one way. – JC Brand Apr 26 '17 at 21:07
  • Can you please provide me command here to request a user just like a behind process of "Add To Contact" from web client? – Ghost Rider Apr 27 '17 at 07:46
  • I don't think there is such a command for ejabberdctl. – JC Brand Apr 27 '17 at 09:14

0 Answers0