[Standards-JIG] proto-JEP: Flagging the Primary Resource

Robert Mibus mibus at internode.on.net
Thu Sep 29 21:28:46 CDT 2005


Do you need to know your "true" priority? You don't know if you're
selected as the "primary resource". Maybe sending the priority is a
"priority request", rather than a priority setting.

Rob.

On Fri, 2005-09-30 at 12:05 +1000, Trejkaz wrote:
> > This may be a daft though from someone who doesn't really know a lot of
> > low-level XMPP specifics, but why can't you just say that a server can
> > artificially inflate a presence packet's priority?
> >
> > eg. Client 1 & 2 sign in, both with a priority of 0. The server
> > determines (by whatever means) that client 1 is "primary". It then sends
> > a presence stanza for client 1 with a priority of "127" (despite client
> > 1 asking for a priority of 0).
> >
> > That would save on the extra XML, as well as not require a whole new
> > JEP.
> 
> The question then is, if I send priority of 1, and the server doesn't send
> my own priority back to me, then what is my priority?
> 
> TX
> 
> 
-- 
Robert Mibus <mibus at mibus.org>
Tech by day, Geek by night




More information about the Standards-JIG mailing list