[Server-devel] ejabberdctl has new smarts
Martin Langhoff
martin.langhoff at gmail.com
Fri Apr 17 15:14:13 EDT 2009
If you pull the new ejabberdctl from olpcxs-testing, you'll find that
it can create the @online@ group directly from the commandline. Try
export MYDOMAIN=bxl.laptop.org
ejabberdctl srg-create Online schoolserver.test.xs.laptop.org Online \
"The group that magically lists online users" Online
ejabberdctl srg-user-add '@online@' schoolserver.$MYDOMAIN Online
schoolserver.$MYDOMAIN
And you can see the results with
ejabberdctl srg-get-info Online schoolserver.$MYDOMAIN
so now we can wire this up so Moodle can setup (and tear down!) the
@online@ group.
And save a bloody errorprone step in the configuration of the XS.
cheers,
martin
--
martin.langhoff at gmail.com
martin at laptop.org -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
More information about the Server-devel
mailing list