#5310 NORM 8.2.0 (: automatically enable shared roster on school server
Zarro Boogs per Child
bugtracker at laptop.org
Wed Sep 10 11:51:18 EDT 2008
#5310: automatically enable shared roster on school server
-------------------------------+--------------------------------------------
Reporter: daf | Owner: martin.langhoff
Type: defect | Status: new
Priority: normal | Milestone: 8.2.0 (was Update.2)
Component: telepathy-other | Version:
Resolution: | Keywords: schoolserver
Next_action: test in build | Verified: 0
Blockedby: | Blocking:
-------------------------------+--------------------------------------------
Comment(by gdesmott):
In this branch [1] I patched mod_ctlextra.erl to add the following
commands to ejabberdctl:
{{{
{"srg-set-all-users group host", "add the @all@ pseudo-user to the group
on host"},
{"srg-set-online-users group host", "add the @online@ pseudo-user to the
group on host"},
}}}
So the @online@ shared roster can easily be created using these 2
commands:
{{{
ejabberdctl srg-create online schoolserver.random.xs.laptop.org online
online online
ejabberdctl srg-set-online-users online schoolserver.random.xs.laptop.org
}}}
Problem: we need the server name to create and configure the group. So if
we want to automatically create it when installing the package we need to
ask to the user what's the server's name; which is impossible with RPM
afaik.
[1] http://git.collabora.co.uk/?p=user/cassidy/ejabberd-
rpm;a=shortlog;h=refs/heads/patch-extra
--
Ticket URL: <http://dev.laptop.org/ticket/5310#comment:10>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list