[Standards-JIG] Re: Presence priority Question

Vinod Panicker vinod.p at gmail.com
Sat Feb 4 04:18:46 UTC 2006

On 2/4/06, Remko Troncon <remko at el-tramo.be> wrote:
> On 03 Feb 2006, at 5:54, Venkat Mani wrote:
> > Should it be left to client implementations to figure out from
> > which resource a user is currently active by sending a message to
> > each and every available resource from which he is connected ?
> It's a problem indeed. Google Talk is one such client which doesn't
> allow you to set a priority nor a resource, yet never causes
> conflicts (which is the way it should be IMO). The Google Talk server
> sends all messages to a bare jid to *all* connected instances with
> the highest priority, which i think is the way to go. (In fact, they
> send it to clients with a higher resource as well, but although it is
> allowed, i'm not really fond of that behavior). Unfortunately, you
> can't rely on this rule, as the XMPP spec allows the server to choose
> any delivery rule for clients with the same priority.

IMO, the spec should say that a client SHOULD not set a priority
greater than 0.  If it does set a priority greater than 0, it has to
detect using suitable mechanisms when and if the user of the client
has gone "away" and MUST drop the priority down back to 0 or a
negative value.

This should prevent the problem that Venkat is talking about.


More information about the Standards mailing list