[JDEV] jabber:iq:roster question

Keith Minkler keith at digix.net
Tue Dec 28 09:33:50 CST 1999


oops, i forgot to describe them.. :)

the <item/> tag contains one roster item (a user)... the attributes are as
follows:
jid			the jabber id of the user in [jabber:]user at host[/resource] format.
name			a 'friendly' name for this user
subscription	a SERVER SET tag, either from,to or both. you may also set this
to remove to delete this user from your roster
ask			another SERVER SET tag, set when you send subscription presence to
note that you are still waiting for a reply.

the <item> tag contains <group/> tags for any groups that user belongs to.


sure, it looks like this:
<item jid='tsbandit at jabber.org' name='Keith Minkler' subscription='from'
ask='subscribe'>
	<group>buddies</group>
	<group>foo</group>
</item>

or a minimal tag: (for a user with subscription or groups)
<item jid='tsbandit at jabber.org' subscription='none'/>






More information about the JDev mailing list