Bug 31105 - TpProtocol: add Presence features
Summary: TpProtocol: add Presence features
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: git master
Hardware: Other All
: medium enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on: 31102
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-25 12:28 UTC by Simon McVittie
Modified: 2019-12-03 20:04 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2010-10-25 12:28:08 UTC
+++ This bug was initially created as a clone of Bug #30088 +++

In Bug #30088, I wrote:

One thing this branch doesn't have is a client-side binding in TpProtocol,
which would have to parse the statuses from .manager files (secretly part of
TpConnectionManager if I remember correctly) and/or from D-Bus properties.

Straw man:

If supported, Presence is part of TP_PROTOCOL_FEATURE_CORE.

I don't know whether these method names should contain presence_ or not: it
makes their meaning more explicit, but makes them more verbose.

/* requires CORE, returns NULL if Protocol.I.Presence is unsupported
 * or CORE isn't ready */
GStrv tp_protocol_dup_[presence_]status_names (TpProtocol *self);

/* returns FALSE without error for unrecognised names */
gboolean tp_protocol_can_set_[presence_]status (TpProtocol *self,
    const gchar *status_name);

/* returns FALSE without error for unrecognised names */
gboolean tp_protocol_[presence_]status_has_message (TpProtocol *self,
    const gchar *status_name);

/* perhaps this is useful to have? */
GStrv tp_protocol_dup_settable_[presence_]status_names (TpProtocol *self);
Comment 1 Simon McVittie 2010-11-25 08:35:55 UTC
Now that Avatars is stable, TpProtocol should support that too.
Comment 2 Guillaume Desmottes 2011-01-24 04:31:39 UTC
For the record, this blocks https://bugzilla.gnome.org/show_bug.cgi?id=640408
Comment 3 Guillaume Desmottes 2011-04-07 06:01:24 UTC
I opened bug #36049 about avatar support. Let's make this bug only about presence support.
Comment 4 GitLab Migration User 2019-12-03 20:04:13 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/46.


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.