[Server-devel] ejabberd shared roster config

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Oct 27 06:42:53 EDT 2008


Le vendredi 24 octobre 2008 à 16:41 +0200, Morgan Collett a écrit :
> I've been playing around with setting up ejabberd seeing that Debian
> and Intrepid ship with the shared roster patches:
> http://wiki.laptop.org/go/Installing_ejabberd/deb
> 
> I managed to hack up the shared roster with a minimum of things that
> could go wrong, by using:
> 
> sudo ejabberdctl srg-create Online your.host.name Online "Online users" Online
> sudo ejabberdctl srg-user-add @online "" Online your.host.name
> 
> This doesn't work immediately as it creates "@online" @ nothing
> instead of "@online@" - but it does populate @online@ into the web
> interface, so you just need to log in and submit the form with no
> changes under shared roster groups. Then it correctly sets @online at .
> 
> Anyone have a simpler way to do this?

Yes.
As explained on [1], we have a patch allowing to define the roster in
ejabberd's conf file and to create it using a command.
I don't know if this patch is included in the Debian pkg though.


	G.

[1] https://dev.laptop.org/ticket/5310#comment:11




More information about the Server-devel mailing list