Summary: | TpContact should have a capabilities feature and property | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Xavier Claessens <xclaesse> |
Component: | tp-glib | Assignee: | Guillaume Desmottes <guillaume.desmottes> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | enhancement | ||
Priority: | high | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/cassidy/telepathy-glib;a=shortlog;h=refs/heads/contact-caps-21332 | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: | ||
Bug Depends on: | 27511, 27618 | ||
Bug Blocks: | 25512 |
Description
Xavier Claessens
2009-04-22 02:53:57 UTC
This blocks this Empathy bug: https://bugzilla.gnome.org/show_bug.cgi?id=579813 Before implementing this, please read the corresponding API in telepathy-qt4. The telepathy-glib API should be analogous (high-level convenience functions, plus an accessor for the a{sv} for advanced users). If you could design this API (the prototypes) I should probably be able to implement it if you want. The reason this is blocked by Bug #25512 is that ContactCapabilities and RequestableChannelClasses are related: * You should be able to ask the Connection for its RequestableChannelClasses, as a Capabilities object (this is a feature in the sense of Bug #25512, IMO - perhaps TP_CONNECTION_FEATURE_CAPABILITIES) * You should also be able to ask a Contact for its capabilities, as a Capabilities object * If the Connection doesn't implement ContactCapabilities, every Contact should wait for TP_CONNECTION_FEATURE_CAPABILITIES, then return a copy of the Connection's Capabilities object, with a flag set to say "this is just a guess really" See the equivalent APIs in telepathy-qt4 for details; I basically want to implement a GObject clone of those. (In reply to comment #4) > The reason this is blocked by Bug #25512 Er, I meant Bug #21097. This looks good to me, thanks! Merged; will be in 0.11.3 Thanks! |
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.