Hello,
I've successfully managed to setup shared rosters so that a certain group of users can be seen by every user on the system.
I'd also like to define groups of users who can see each other. I can do this in a manual fashion using mod_shared_roster and the web interface. However, I'd like to automatically create and populate these groups using data from other sources.
Is there a way to modify mod_shared_roster without using the web interface?
Thanks,
Try mod_ctlextra from the system shell
Is there a way to modify mod_shared_roster without using the web interface?
In ejabberd 2.0.x versions you can install mod_ctlextra which provides ejabberdctl commands that you can call from the system shell.
In ejabberd 2.1.x (no released version yet, code only in SVN trunk) you can install mod_admin_extra that provides the same commands, and also ejabberd_xmlrpc that allows to execute those commands using an XML-RPC client.