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

Mark Doliner mark at meebo.com
Thu Oct 5 02:45:09 CDT 2006


On 10/5/06, Norman Rasmussen wrote:
> On 10/5/06, Mark Doliner <mark at meebo.com> wrote:
> > Hi, I'mjavascript:SetCmd(cmdSend); wondering what is the correct way to remove a nickname from a
> > roster item?
> 
> Psi seems to generate:
> 
> <iq type="set" id="ab34a" >
> <query xmlns="jabber:iq:roster">
> <item subscription="remove" jid="whoever at example.com" />
> </query>
> </iq>

Wouldn't that remove the item from my roster completely?  I just want to get rid of the nickname that's associated with the item.  Some Jabber clients refer to this as an "alias."

-Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2895 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20061005/89a560d2/attachment-0002.bin>


More information about the JDev mailing list