On Wt, 2008-01-22 at 20:20 -0800, Praveen wrote:
> The requirements for my jabber installation are that I need to be able to add
> users and rosters directly through MySQL. Adding users was easy (by enabling
> 'auto-create' tag). However, I am having problems adding roster entries.
> Specifically, adding userA and userB as buddies when one of them is online
> does not work. The subscription to online buddy does not work.
>
> insert into `roster-items` (`collection-owner`, `jid`, `name`, `to`, `from`,
> `ask`) values ('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'B', 1, 1, 1),
> ('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'A', 1, 1, 1);
There is no support for editing online users rosters.
You need to disconnect and reconnect.
Do not set the 'ask' field. It means that the authorisation is pending
(waiting for approval).
--
/\_./o__ Tomasz Sterna
(/^/(_^^' http://www.xiaoka.com/
._.(_.)_ im:[EMAIL PROTECTED]
_______________________________________________
Jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com