Open GoogleCodeExporter opened 8 years ago
This took me forever to find! I was using xmpphp, but got the solution from
using jquery Strophe.
First do:
<iq type='set' xmlns='jabber:client' id='9155:sendIQ'><query
xmlns='jabber:iq:roster'><item jid='user@localhost'
name='usernickname'/></query></iq>
Followed by:
<presence to='user@localhost' type='subscribe' xmlns='jabber:client'/>
Then to rename again:
<iq type='set' xmlns='jabber:client' id='9155:sendIQ'><query
xmlns='jabber:iq:roster'><item jid='kafkav2@localhost'
name='kafkav2RENAME'/></query></iq>
Hope this helps, because
Original comment by caz...@gmail.com
on 6 Sep 2012 at 2:54
Original issue reported on code.google.com by
anca.b...@gmail.com
on 12 May 2011 at 10:53