Bug 29421 - Channel-specific handle API is lacking
Summary: Channel-specific handle API is lacking
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-qt (show other bugs)
Version: git master
Hardware: All All
: low enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-06 09:22 UTC by Olli Salli
Modified: 2019-12-03 20:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Olli Salli 2010-08-06 09:22:49 UTC
TpQt4 Channel objects currently go to great lengths to ensure an application doesn't have to build Contact objects for the members of the channel by itself. This breaks, however, if channel-specific handles are in use (used in eg. XMPP multi-user chats, where users have nicknames, not always directly exposing their global JID). Currently, only a best-effort local handle -> global handle map is provided.

API should be added to provide a local contact pointer (weakref?) to a global contact pointer mapping. Maintaining this mapping requires additional D-Bus roundtrips to construct the global contacts, so it should be an optionally requested Feature.

If feasible, API should be added to Tp::Contact to tell if it's a channel-specific contact, and to access the corresponding global contact, if any. This needs synchronizing the handle owner contact object construction and group change contact object construction and making the association there, though.
Comment 1 GitLab Migration User 2019-12-03 20:27:18 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/7.


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.