Hello! I'm using eJabber as a Server of a XMPP mobile- desktop - web application service, but I have a problem I need to add multiple User at the same time for a user, so I'm going to read the contactlist of the phone and at them to the jabber roster Item of the User.
Can I add multiple contacts at the same time to a unique user?
thanks in advance
Did you found any solution ?
Did you found any solution ?
hi, not sure if it's help,
hi,
not sure if it's help, but you should look at mod_admin (ejabberdctl enhancement).
Then you'll have a command "push_roster" which allows you to push multiple users from a file to one person.
hope i could help :D
You could also have your app
You could also have your app communicate the data to the server and have the server use add_rosteritem... it's like the push_roster but it only adds the users one at a time. I think push_roster requires a file with the users in it while add_rosteritem will allow you to loop through your list.