[JDEV] modifying roster entries
stpeter at jabber.org
Wed Sep 11 10:39:05 CDT 2002
I'm not sure why you're resubscribing and removing the roster entry and
so on. To change the roster entry, just do a new IQ set with
<group>newgroup</group> rather than <group>oldgroup</group>....
Jabber Software Foundation
On Tue, 3 Sep 2002, dlb wrote:
> Is there a way to modify a roster entry without removing and then
> resubmitting the entry ? For instance if I want to change the group of a
> subscribed JID , can this be done in a single transaction ?
> right now I'm first submitting ..
> <iq type="set" id="roster_2">
> <query xmlns="jabber:iq:roster">
> jid="nurse at capulet.com"
> and then resubscribing using the revised fields.
> I've tried submitting a new query w/ the original subscription type and
> revised fields , after the 'remove' , but the server's response is erratic.
> I've also tried simply overwriting the existing entry - doesn't work.
> any advice ?
> jdev mailing list
> jdev at jabber.org
More information about the JDev