Bug 28299 - high-level API for SetContactInfo, ContactInfoFlags, SupportedFields
Summary: high-level API for SetContactInfo, ContactInfoFlags, SupportedFields
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-qt (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: 59609
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-28 04:37 UTC by Simon McVittie
Modified: 2019-12-03 20:27 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Simon McVittie 2010-05-28 04:37:36 UTC
Xavier's telepathy-glib ContactInfo branch (Bug #27676) adds a Feature on TpConnection for ContactInfo's global properties:

ContactInfoFlags:
    * Can_Set: can we set our ContactInfo? (normally true on XMPP, but should
        in principle be false on Facebook if we had a reliable way to detect
        that "anti-capability")
    * Push: false on XMPP, true on Skype
SupportedFields:
    * the complete XEP-0054 set on most XMPP connections
    * a small subset of XEP-0054 on Google Talk servers
    * etc.

telepathy-qt4 should have similar API, although it's not a high priority and nobody's actively working on it at the moment. Xavier's telepathy-glib code can be used for inspiration, particularly after the branch becomes ready to merge.

This might be a good introductory task for someone new to telepathy-qt4?
Comment 1 Olli Salli 2011-12-29 07:28:21 UTC
TelepathyQt doesn't have high-level API for SetContactInfo at all, just for reading remote contact info.

IMO it should take the form of a method on Tp::Connection, which takes (a subclass of) Tp::Contact::InfoFields which should have methods to set the fields, and translates it to the parameters to the SetContactInfo DBus method.
Comment 2 GitLab Migration User 2019-12-03 20:27:12 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-qt/issues/5.


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.