[Bug 45491] Show up <error><text> as status message for contacts with error presence
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 1 12:58:17 CET 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45491
--- Comment #1 from Will Thompson <will.thompson at collabora.co.uk> 2012-02-01 03:58:17 PST ---
Created attachment 56438
--> https://bugs.freedesktop.org/attachment.cgi?id=56438
Presence: show better error status messages.
When you get <presence type='error'>, any <status/> element in the
presence is an echo of a stanza you sent out. So the message in that is
not the contact's presence: it's either your status, or maybe the
message you sent with a subscription request, depending on whether we
got the <presence type='error'/> for a roster contact or someone we
tried to subscribe to.
So instead, I think we should use the text of the error (if any) as the
status for such contacts, falling back to the error element name if the
server is unkind and doesn't include an error message. Yes, this means
strings will show up in the UI in the server's locale, but this is
hardly news.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list