[jdev] Making sense of different presence info from different endpoints
Chris Eagan
cheagan at microsoft.com
Wed Jun 20 00:03:14 UTC 2012
Hi,
Is there any guidance or recommendation about how an XMPP client should show a contact's presence if it receives different presence information from different endpoints?
Examples:
Say alice at aaa.com<mailto:alice at aaa.com> has bob at bbb.com<mailto:bob at bbb.com> in her contact list.
1: alice at aaa.com<mailto:alice at aaa.com> sends a probe to bob at bbb.com<mailto:bob at bbb.com> and receives back presence from 2 different endpoints, each with the same priority - one has no show type and the other has show=dnd. Should alice at aaa.com<mailto:alice at aaa.com>'s client show that bob at bbb.com<mailto:bob at bbb.com> is available (e.g. "green") or busy (e.g. "red")?
2: bob at bbb.com<mailto:bob at bbb.com> has 2 endpoints that have recently sent presence updates with no type or show. alice at aaa.com<mailto:alice at aaa.com>'s client show's bob at bbb.com<mailto:bob at bbb.com> as available. bob at bbb.com<mailto:bob at bbb.com> signs out one of his endpoints and that endpoint sends a presence unavailable stanza. One could assume bob at bbb.com<mailto:bob at bbb.com> is still available because his other endpoint has not sent a presence update. However, it appears some clients will actually show bob at bbb.com<mailto:bob at bbb.com>as offline in this case.
3: bob at bbb.com<mailto:bob at bbb.com> sends different statuses in presence stanzas from different endpoints, how should alice at aaa.com's<mailto:alice at aaa.com's> client present this?
Is there any "official" or documented guidance on how alice at aaa.com<mailto:alice at aaa.com>'s client should behave in these cases?
Thank you,
Chris Eagan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20120620/fe6f7d6a/attachment.html>
More information about the JDev
mailing list