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
--
[email protected]
[email protected] -- School Server Architect
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
_______________________________________________
Server-devel mailing list
[email protected]
http://lists.laptop.org/listinfo/server-devel