Bug 26242 - Haze hidden and xa statuses don't interoperate with Empathy
Summary: Haze hidden and xa statuses don't interoperate with Empathy
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: haze (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Simon McVittie
QA Contact: Telepathy bugs list
URL: http://git.collabora.co.uk/?p=user/sm...
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2010-01-26 04:32 UTC by Simon McVittie
Modified: 2010-01-26 04:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon McVittie 2010-01-26 04:32:30 UTC
For interoperability, we should have well-known names for statuses. Haze doesn't use the well-known names for extended-away and hidden, which means Empathy's fairly simplistic status selector can't set them; Haze's names are also not in Mission Control's list of fallbacks. Pseudo-patch:

 static const TpPresenceStatusSpec statuses[] = {
     { "available", TP_CONNECTION_PRESENCE_TYPE_AVAILABLE, TRUE,
         arg_specs, NULL, NULL },
     { "busy", TP_CONNECTION_PRESENCE_TYPE_BUSY, TRUE,
         arg_specs, NULL, NULL },
     { "away", TP_CONNECTION_PRESENCE_TYPE_AWAY, TRUE,
         arg_specs, NULL, NULL },
-    { "ext_away", TP_CONNECTION_PRESENCE_TYPE_EXTENDED_AWAY, TRUE,
-        arg_specs, NULL, NULL },
+    { "xa", TP_CONNECTION_PRESENCE_TYPE_EXTENDED_AWAY, TRUE,
+        arg_specs, NULL, NULL },
-    { "invisible", TP_CONNECTION_PRESENCE_TYPE_HIDDEN, TRUE, NULL, NULL, NULL },
+    { "hidden", TP_CONNECTION_PRESENCE_TYPE_HIDDEN, TRUE, NULL, NULL, NULL },
     { "offline", TP_CONNECTION_PRESENCE_TYPE_OFFLINE, FALSE, NULL, NULL, NULL },
     { NULL, TP_CONNECTION_PRESENCE_TYPE_UNSET, FALSE, NULL, NULL, NULL }
 };
Comment 1 Simon McVittie 2010-01-26 04:43:34 UTC
The proposed change (in branch smcv/hidden) does indeed work: my two Yahoo test accounts can now become invisible to each other. I haven't tested xa, but it can't be any worse than currently :-)

http://git.collabora.co.uk/?p=user/smcv/haze-smcv.git;a=shortlog;h=refs/heads/hidden
Comment 2 Simon McVittie 2010-01-26 04:53:09 UTC
Fixed in git, will be in version 0.3.4.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.