Re: Displaying presence from contacts with multiple resources
Georg Lukas <[email protected]> Thu, 19 Apr 2018 16:43:04 +0200
| Newsgroups | gmane.network.jabber.devel |
|---|---|
| Organization | Path-E-Tech Management |
| Message-ID | <[email protected]> |
* Matthew Wild <[email protected]> [2018-04-19 16:12]: > If you've implemented a client, I'm curious to learn how you chose to > determine what presence to show for a contact if they have multiple > resources with different 'show' states (e.g. one is just available, > and one is dnd). That's a great question. It would make sense to have "dnd" override any other setting, as yout typically don't want to disturb a person on any of the channels if this setting is configured. Some implementations order by resource priority, which is not very helpful to users, IMO. I'd suggest to use the following sort order: - dnd - chat - available - away - xa With ties resolved by using the client priority (or maybe the length of the status message - the longer one wins. This actually does make sense if you only have configured a status message on one client). Georg _______________________________________________ JDev mailing list Info: https://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEilVcjpqOWk8DWawghWz0J2DRvSMFAlrYqvUACgkQhWz0J2DR vSOSXhAAh4TkNCj2mR1+sN2HWCV2x4X7tHI/ujdHxcbNYYo60oVDkp47Itd0ziL6 wnk39B5XF7RkV7FBGc8f+m+A5omBAJ+Qd5vR/1eJtlwVJWWSAhvsaNAlPKj2BLyP 56lG2AOdW7s+8L7ZvX0c4nv6w4n/MfQnzgQ9b5kBX99acyLRdOIDc/RFd5auzSsZ sLn/8jSO4zMxjQPFb1KmMQtrJqj08tenuoqdKfkbqX2UDvKJde0/qhGo7z1cdMGS Pv5VrzDY9w0mXjldd/Xo/NMiWDqj5MGY03FWyKOLJx5PsQvNTs2qI514EQ2Nnh8A +Ik7D6J9l2NuZ4Zu2qVstvoX7CY/cQAAG1Ibop7V4ctc4RWx19txfPSJqZXQgEBN 56AfXC4dWrnRWySTBXpL/lOwXMFypMsXGbEwTtnTODI2EZS5dDqi2nrq7h8nOHTZ WIjdurhnAUJey9Ny3RGS79SHznEC/rhln7soB1BuqNJR8BBqFXG33Y7BpwKQ1QM2 7/gcXua2lFgmY1LWJcVRUsyXVyqXKJcUvvfFFO0v++cTJaUxT1nOcgHnJorsBvln DC3uGsQr8UOOc45NFl25ww8Y7amSwxTaJ0bb2fTnx1HAqAHXV3WLbdLn86WprsPW gHcCaOhn5cAvRXb90kA4/gNjYzyYt0OwEFOPCFfPk1U1VBD/CfU= =DtwG -----END PGP SIGNATURE-----