[JDEV] Subscription request when user gets online

Lubos Pochman lpwork at hotmail.com
Wed Dec 13 12:24:54 CST 2000


I am trying to implement XDB using ODBC DB interface (replace xdb_file 
module),
based on xdb_odbc package available as unsupported with Jabber 1.0 server.

Almost everything works, but I have a following problem I have trouble 
solving:

If I subscribe to the user who is offline, the subscription doesn't get 
requested
when user gets online.

If I try it with xdb_file module it works. When user to be added is offline 
the following
tag is added to jabber:iq:roster items list in user xml file (roger.xml):

<item jid='lubosp at dddenim01.dddencs.desktopdollars.com' subscription='none' 
subscribe='' hidden=''/>

I believe, that when this item is send to user (roger) when he gets online, 
it starts the
subscription request.

The attributes subscribe='', hidden='' are not documented in Jabber 
Programmer's file.

Anybody can tell me what their meaning is and what are their possible 
values, so I can put them somehow
in roster users table into DB, and send them back to user, as a part of the 
roster request
when users goes online?

Thanks, Lubos.


_____________________________________________________________________________________
Get more from the Web.  FREE MSN Explorer download : http://explorer.msn.com





More information about the JDev mailing list