[Standards] Presence Priority Implementation Guide

JD Conley jd.conley at coversant.net
Thu May 17 18:13:26 UTC 2007

> I was thinking this would be a good best-practice for servers. Our
> implement
> currently picks the most recently active user (i.e. the last one to
> change
> presence), but I think the broadcast would be best.
> -JD
> ----------------------------------
> Do you mean the last one to change presence to an available state, or
> just
> change to any state? What would happen if I was using a mobile with a
> priority of 127 and a desktop of priority 10 and I changed my desktop
> status
> to "away"? Would it deliver then messages to the desktop, even though
> the
> priority was lower and the desktop resource was set to "away"?

No, it uses priority first, but then if there are two priorities that
are the same it delivers to the most recently changed one.

> Does your implementation change if there was a previous chat already
> progress between the two users?

No. Conversations are not taken into account by the server with regards
to bare JID message delivery.


More information about the Standards mailing list