[jdev] Making sense of different presence info from different endpoints

Matthew Wild mwild1 at gmail.com
Wed Jun 20 01:12:33 UTC 2012


On 20 June 2012 01:03, Chris Eagan <cheagan at microsoft.com> 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?

Nothing official that I can think of. It's beyond the scope of
protocol documentation and is left up to the client developer as a UI

> 2: bob at bbb.com has 2 endpoints that have recently sent presence updates with
> no type or show.  alice at aaa.com's client show's bob at bbb.com as available.
>  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 is still
> available because his other endpoint has not sent a presence update.
>  However, it appears some clients will actually show bob at bbb.comas offline
> in this case.

I don't know any clients myself that have this behaviour. Can you name
one? It would obviously be rather counter-intuitive for an IM client
to behave like this.

> Is there any "official" or documented guidance on how alice at aaa.com's client
> should behave in these cases?

I recently wrote an answer to a very similar question along the same
lines, which may be of some help:


More information about the JDev mailing list