[JDEV] Possible bug with ask='subscribe'
Robert Temple
robert.temple at dig.com
Mon May 21 17:55:59 CDT 2001
This is one of a number of things that has been inconsistent
from one server to the next. First one server does the right
thing, then next server forgets to always include the ask
parameter. I've used the 1.0, 1.1, 1.2, 1.4 and now the 2.0
servers, so I cannot remember which does which.
I did report this bug in one of the servers a while back and
someone told me that they fixed it.
-Robert
> -----Original Message-----
> From: Julian Missig [mailto:julian at jabber.org]
> Sent: Sunday, May 20, 2001 3:40 PM
> To: jdev at jabber.org
> Subject: [JDEV] Possible bug with ask='subscribe'
>
>
> When I do:
> <iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='julian at jabber.com' name='julian-test'/></query></iq>
>
> And then I send a presence subscribe request,
>
> I get back:
> <iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='julian at jabber.com' name='julian-test' subscription='none'
> ask='subscribe'/></query></iq>
>
> Note the ask='subscribe'
>
> Now, if I then do:
> <iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='julian at jabber.com'
> name='julian-test'><group>testing</group></query></iq>
>
> I get back:
> <iq type='set'><query xmlns='jabber:iq:roster'><item
> jid='julian at jabber.com' name='julian-test'
> subscription='none'><group>testing</group></query></iq>
>
> No more ask='subscribe' ... It should not be the client's
> responsibility
> to set the ask='subscribe', so the server is forgetting it. The client
> needs ask='subscribe' to know if the user should be marked as
> subscription pending, so this bug is a bit annoying.
>
>
> Julian
> --
> email: julian at jabber.org
> jabber:julian at jabber.org
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list