[JDEV] Possible bug with ask='subscribe'
Julian Missig
julian at jabber.org
Sun May 20 17:39:58 CDT 2001
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
More information about the JDev
mailing list