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

Robert Temple robert.temple at dig.com
Mon Mar 12 02:59:23 CST 2001


wonderful!  thanks a ton!

-----Original Message-----
From: Schuyler Heath [mailto:sheath at jabber.org]
Sent: Sunday, March 11, 2001 9:54 PM
To: jdev at jabber.org
Subject: Re: [JDEV] Follow-up: 1.4 BUG REPORT: 'ask' attribute missing
in roster item


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
> 




More information about the JDev mailing list