[jdev] Correct way to remove a nickname form a roster item

Michal vorner Vaner michal.vaner at kdemail.net
Thu Oct 5 07:15:43 CDT 2006

On Wed, Oct 04, 2006 at 08:20:02PM -0700, Mark Doliner wrote:
> Hi, I'm wondering what is the correct way to remove a nickname from a
> roster item?
> Method 1:
> <iq type='set' id='lalala123'><query xmlns='jabber:iq:roster'><item
> jid='whoever at example.com'><group>Buddies</group></item></query></iq>
> Method 2:
> <iq type='set' id='lalala124'><query xmlns='jabber:iq:roster'><item
> jid='whoever at example.com'
> name=''><group>Buddies</group></item></query></iq>

IMHO, whit should save empty nick there. Depends what you mean by
removing nickname. Setting it to JID, setting it to node part of JID,
setting it to something the user has set in vcard?

When a fly lands on the ceiling, does it do a half roll or a half loop?

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20061005/385e6380/attachment-0002.pgp>

More information about the JDev mailing list