On Wed Apr  8 11:21:51 2009, Robin Redeker wrote:
Hi!

I've recently stumbled across unavailable presence stanzas on s2s connections
as replies to probes:

   <presence from="b...@jid" to="..." type="unavailable" />


Right, we hand those out too, whenever users are known to be offline. We'll also timestamp them, and include <status/>, if we have that information.

RFC 3921 (bis) doesn't explicitly disallow this, and jabberd2 seems to generate these unavailable presences. How is a client supposed to handle it in case it has received available presence from some resources before, eg. like this:

   <presence from="[email protected]/bla" type="available" />
   <presence from="[email protected]/foo" type="available" />

And then receives:

   <presence from="[email protected]" type="unavailable" />

Should the client assume that the resources 'bla' and 'foo' are offline now?

Interesting... Yes, probably...

Dave.
--
Dave Cridland - mailto:[email protected] - xmpp:[email protected]
 - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
 - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

Reply via email to