[Standards] Presence Priority Implementation Guide
Rachel Blackman
rcb at ceruleanstudios.com
Mon May 21 13:45:22 CDT 2007
>>> It's also probably a good idea to forget the resource whenever
>>> you get a presence change from that user's bare JID; certainly
>>> you should if you get a presence change from the resource you're
>>> chatting with.
>>
>> From the bare JID, yes, I agree (and handle it as such). But I
>> think a presence change from the resource in question is a bit too
>> generalized; if I'm talking to someone on a resource that's marked
>> 'idle' and then they mark it as available, I don't know that I
>> really want/need to forget that resource. Now, I agree if the
>> presence is a /downward/ change -- available to away, away to xa,
>> etc. -- that you should reset to bare JID for the next message,
>> and effectively re-negotiate the conversation.
>
> Actually, instead of "from the bare JID" (which shouldn't really
> happen), I meant to be "any presence change from any resource
> associated with the bare JID", just to be clear. If there's an
> upward change from a different resource, that might affect things,
> for example.
Sadly, I've seen bare-JID presences from some things such as
transport gateways, and some odd XMPP services. Something like
Sparks at irc-gateway.example.com not having a resource in the presence,
I mean. So while it may not be /supposed/ to happen, it may still do
so in some cases.
--
Rachel Blackman <rcb at ceruleanstudios.com>
Trillian Messenger - http://www.trillianastra.com/
More information about the Standards
mailing list