Offline subscription bug

Hi,

I think I may have stumbled upon a bug when trying to subscribe to a user’'s presence when that user is currently offline. Suppose User A wants to subscribe to User B, and User B is offline.

User A sends the following XML:

Since User B is offline, the server stores this request. Now, when user B comes online, the user receives this message from the server:

*

*

The problem is that in the second presence message, there is no “from” field indicating from which user the subscription request is. The “to” field is missing as well.

I do not get this problem if User B is online and receives the subscription right away. In that case, this is what user B receives:

I’'d appreciate if anybody could clear this up for me, thanks!

Aman

Hi,

Yes, definitely a bug. I’'ve filed a report in our issue tracker and hopefully we can have a fix soon.

-iain

Hi,

FYI, I found the bug and patched it. I’'ll try to get a release out tomorrow or thursday. So just keep an eye out for the 1.0.8 announcement on this forum and that will contain the patch.

-iain

Cool, thanks.