Profiles: 'message' attribute of <presence/> has strange semantics
@wjt
Submitted by Will Thompson Assigned to Vivek Dasmohapatra
Description
I expected that http://telepathy.freedesktop.org/wiki/service-profile-v1#presences would basically be a superset of the information in the SimplePresence.Statuses property: http://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html#org.freedesktop.Telepathy.Connection.Interface.SimplePresence.Statuses. Specifically, a list of statuses with name, type, whether it can be set on ourself, and whether it can have a user-supplied message.
does have a message='' attribute, but it's not a boolean: it's a string. “the default text delivered with this presence, if any”. I don't know what the use case is for this. I do have a concrete use case for overriding the Can_Have_Message field of http://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html#Simple_Status_Spec, though: Facebook uses XMPP, which in principle supports status messages, but Facebook just ignores them. So you'd want a profile for Facebook to be able to tell the UI “hey, the CM tells you that you can add a message here, but I know better”.
Version: git master