[JDEV] Follow-up: 1.4 BUG REPORT: 'ask' attribute missing in roster item

Schuyler Heath sheath at jabber.org
Sun Mar 11 22:54:01 CST 2001


It's fixed in cvs now.

Schuyler

On Sun, Mar 11, 2001 at 06:47:54PM -0800, Robert Temple wrote:
> Last month I posted a report of a bug in 1.4 and never heard anything 
> back.  I'm wondering if anyone on the server team read about this bug 
> and fixed or plans to fix it.  I'll repost it below:
> 
> In the 1.2 server, I could count on the ask attribute of roster 
> items being returned from the server.  But now in 1.4, the ask 
> attribute only reliably comes back in the roster item when 
> I send a presence subscription message to someone.
> 
> For example, say I have a item on my roster, "foo at org", and I
> am currently in the ask="subscribe" state to that user.
> 
> If I send a message to change groups around like this:
> <iq type="set">
>  <query xmlns="jabber:iq:roster">
>   <item jid="foo at org">
>     <group>FooGroup</group>
>   </item>
>  </query>
> </iq>
> 
> In 1.2 I would get back something like:
> <iq type="set">
>  <query xmlns="jabber:iq:roster" subscription="none" ask="subscribe">
>   <item jid="foo at org">
>     <group>FooGroup</group>
>   </item>
>  </query>
> </iq>
> 
> But now in 1.4, I get back something like:
> <iq type="set">
>  <query xmlns="jabber:iq:roster">
>   <item jid="foo at org" subscription="none">
>     <group>FooGroup</group>
>   </item>
>  </query>
> </iq>
> 
> I am counting on that "ask" attribute coming back consistently.
> -Robert
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20010311/7ee2fda9/attachment-0002.pgp>


More information about the JDev mailing list