[jdev] Making sense of different presence info from different endpoints
Peter Saint-Andre
stpeter at stpeter.im
Wed Jun 20 00:13:46 UTC 2012
On 6/19/12 6:03 PM, Chris Eagan wrote:
> 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?
No. We've never been able to get all the client developers to agree on
such user interface issues. :)
Peter
--
Peter Saint-Andre
https://stpeter.im/
More information about the JDev
mailing list