[JDEV] modifying roster entries

Peter Saint-Andre stpeter at jabber.org
Thu Sep 12 10:22:27 CDT 2002


That's definitely not the expected behavior. :)

Peter

--
Peter Saint-Andre
Jabber Software Foundation
http://www.jabber.org/people/stpeter.html

On Tue, 10 Sep 2002, dlb wrote:

> let me re-check my set query - rather than embarrass myself  ;)
> 
> what's been happening is that if I submit an IQ 'set' w/ a new group value
> the roster reflects a new entry for that contact - one w/ the old group and
> another w/ the new group. If this isn't the expected result on 1.4.1 then
> it's likely my doing.
> 
> thanks
> 
> 
> From: "Peter Saint-Andre" <stpeter at jabber.org>
> 
> 
> 
> > Could you send a use case with protocol that you're sending and your
> > server setup (filesyste vs. database, etc.)? I don't think I'm grasping
> > the problem you're seeing.
> >
> > Peter
> >
> > --
> > Peter Saint-Andre
> > Jabber Software Foundation
> > http://www.jabber.org/people/stpeter.html
> >
> > On Tue, 10 Sep 2002, dlb wrote:
> >
> > > thanks Peter , Is this a feature of newer servers ?  On my 1.4.1 simply
> > > setting a new group didn't work , I'd ended up with redundant accounts.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Peter Saint-Andre" <stpeter at jabber.org>
> > >
> > >
> > >
> > > > 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>....
> > > >
> > > > Peter
> > > >
> > > > --
> > > > Peter Saint-Andre
> > > > Jabber Software Foundation
> > > > http://www.jabber.org/people/stpeter.html
> > > >
> > > > 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">
> > > > >     <item
> > > > >         name="Nurse"
> > > > >         jid="nurse at capulet.com"
> > > > >         subscription="remove">
> > > > >       <group>Servants</group>
> > > > >     </item>
> > > > > </iq>
> > > > >
> > > > > 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 ?
> > > > >
> > > > > David
> > > > >
> > > > > _______________________________________________
> > > > > jdev mailing list
> > > > > jdev at jabber.org
> > > > > http://mailman.jabber.org/listinfo/jdev
> > > > >
> > > >
> > > > _______________________________________________
> > > > jdev mailing list
> > > > jdev at jabber.org
> > > > http://mailman.jabber.org/listinfo/jdev
> > >
> > > _______________________________________________
> > > jdev mailing list
> > > jdev at jabber.org
> > > http://mailman.jabber.org/listinfo/jdev
> > >
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 




More information about the JDev mailing list