* Matthew Wild <mwi...@gmail.com> [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
signature.asc
Description: PGP signature
_______________________________________________ JDev mailing list Info: https://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org _______________________________________________