[Bug 29421] New: Channel-specific handle API is lacking
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Aug 6 18:22:49 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29421
Summary: Channel-specific handle API is lacking
Product: Telepathy
Version: git master
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: medium
Component: tp-qt4
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: ollisal at gmail.com
QAContact: telepathy-bugs at lists.freedesktop.org
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.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list