TpContact should provide API to know if we can send a file to it, initiate a VoIP call, etc... This should probably use the new ContactCapabilities interface.
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.