[JDEV] Remove User from Roster Group

Matt Diez matt at vedalabs.com
Wed Apr 4 12:03:13 CDT 2001

Kayo, folks...
   Trying to figure out the syntax involved in removing a user from a roster

   Presently, I send the following packet to set the user's groups, what is
the syntax to 
remove, say the "school" group?

<iq type="set" id="uniquevalue"> 
	<query xmlns="jabber:iq:roster">
		<item jid="user at server" name="Some User"> 

	Probably a more comprehensive question would be, do I need to send
ALL roster item
info EACH TIME I want to change a single attribute. Do I need to send jid,
name, ask, subscribe,
and all groups every time I want to change the rosteritem? Is there a way to
simply signify 
that only x attribute needs to be changed, or are attributes ONLY changed
when they are included
in the body of the roster request. Meaning: if there is group info, only
change that, if there
is name info, only change that, etc?

Matt Diez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20010404/db60c339/attachment-0002.htm>

More information about the JDev mailing list