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