Re: [jdev] Displaying presence from contacts with multiple resources
On 19 April 2018 at 15:43, Georg Lukaswrote: > * Matthew Wild [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. > If what we want is the posture of the user, and not the client, we should define a spec for it (and, I suspect, throw it into PEP). Dave. ___ JDev mailing list Info: https://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org ___
Re: [jdev] Displaying presence from contacts with multiple resources
* Matthew Wild[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 ___
[jdev] Displaying presence from contacts with multiple resources
Hi folks, As far as I'm aware we've never formally specified this. I'm trying to understand what clients currently do. 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). Regards, Matthew ___ JDev mailing list Info: https://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: jdev-unsubscr...@jabber.org ___