[Telepathy] [Bug 17219] Allow to set priority for available/away state

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 9 08:14:47 PST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=17219


Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Allow to set priority in    |Allow to set priority for
                   |jabber/GTalk                |available/away state




--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-02-09 08:14:44 PST ---
Altering priority at all (once per connection to the server, as an account
preference) is already supported in Gabble, but not in Maemo's UI (a UI
designer decision), so that bit is NOTOURBUG. The fact that the default is 0
might not be very appropriate, though, since that's the lowest priority you can
have without triggering the special negative-priority ("don't send me
messages") handling in the server.

Altering priority at runtime in response to presence statuses (as in
Maemo#2141) is a reasonable feature request, but why do only "available" and
"away" get special treatment? Should the other presences we support ("busy",
"xa" and "chat") etc. get the available priority, the away priority, a
hard-coded priority or something else? Discuss.

My inclination would be that "busy", "available" and "chat" should all set the
higher priority (even if you're busy, the device you're busy on is still the
one you're primarily using), "away" sets a lower priority, and "xa" is either
the same as "away", or even lower. The old "priority" parameter should probably
be used for the highest of the priorities (with a suitably increased default),
and the new priority-away parameter should perhaps default to half of priority
or something in order to get sensible behaviour if priority takes a non-default
value.

(The Maemo UI can't set "chat" or "xa", but sets "busy" if invisible is
selected but not supported by the server. Empathy can't currently set "chat",
but can set "busy", and automatically sets "xa" after you are away for a
while.)

Having the same values of priority that Pidgin does as the defaults seems sane.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the telepathy mailing list