Hi all,
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.
Example:
userA is online (a client has a valid session with the server)
I execute the following sql statements:
insert into `roster-groups` (`collection-owner`, `jid`, `group`) values
('[EMAIL PROTECTED]', '[EMAIL PROTECTED]', 'Friends'), ('[EMAIL PROTECTED]',
'[EMAIL PROTECTED]', 'Friends');
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);
When I do this, userB's subscription to userA is 'from' only, and not 'both' as
I would expect it to be.
May be I am missing something (I am not sure of my interpretation of 'ask').
The whole point is that I don't want the users to get buddy requests.
Thanks,
Praveen
----
I'll be more enthusiastic about encouraging thinking outside the box when
there's evidence of any thinking going on inside it.
- Terry Pratchett
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
Jabberd2 mailing list
[email protected]
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com