[jdev] Making sense of different presence info from different endpoints

Matthew Miller linuxwolf at outer-planes.net
Wed Jun 20 17:43:33 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Jun 20, 2012, at 11:41, Philipp Hancke wrote:

> Matthew Miller typeth:
> 
>> This is not official, and subjective to my personal views, but I would recommend using the following to determine which to display:
>> 
>> 1) highest priority (treat a missing<priority/>  as<priority>0</priority>)
>> 2) timestamp, via jabber:x:delay or urn:xmpp:delay (treat a missing timestamp as timestamp==received time)
>> 3) order parsed from the stream
> 
> Your personal view does not start with
> 0) if there is a locked resource (XEP 0296) display the presence information from that resource
> ? :-)

True, I did miss that (-:

However, it is only valid for some notion of a chat session; this step would be irrelevant in a roster view, in my opinion.


- - m&m

Matthew A. Miller
<http://goo.gl/LK55L>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJP4gvFAAoJEJq6Ou0cgrSPzu4H+wRtCaUloDLBJwHT0wi7wJvC
JQZRjhyCqiWRUqItSpRh98kWSeL6oAjqHxZczyroWZQk3mYqac8OHr3vY5CEHz6W
u7+cYNqUvZSg80cUci/OCNcADMJAaU0GugaS1OIUiirfhn/jNG2LMI8NBiTC/HXy
LR7djH+nTVm2F8uaq/ZeLg8+nRmOyO0S46+dNhaJOnAs8iRQQFGngTzVbff1pZCL
ROHT+fNx8snK0atcVKxFIcEsZwPrTTN+5tp7U8tL3U6lTRprQybRZxnvtNGmkl27
jlpR5+wu3QPMAmrNQPrQYgL5j4u18zfrNY1sScF7wpxi0kZmHvNqUYtRFuRBZik=
=YlGV
-----END PGP SIGNATURE-----


More information about the JDev mailing list