[Standards] Presence Priority Implementation Guide
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
> currently picks the most recently active user (i.e. the last one to
> presence), but I think the broadcast would be best.
> Do you mean the last one to change presence to an available state, or
> 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
> to "away"? Would it deliver then messages to the desktop, even though
> 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