[Bug 38248] Get handle identifiers for contacts related to a channel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 1 13:54:53 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38248

--- Comment #9 from Xavier Claessens <xclaesse at gmail.com> 2011-08-01 04:54:52 PDT ---
(In reply to comment #7)
> And here is a branch for tp-glib to implement new spec in group-mixin.c and
> create TpContact objects on TpChannel:
> http://cgit.collabora.com/git/user/xclaesse/telepathy-glib.git/log/?h=channel-ids

Branch rebased on master, now using the factory to create TpContact. It has an
issue making some unit tests fail:

TpChannel constructor gets actor handle/id from immutable-properties, so it
creates a TpContact right away. Though if the TpConnection was not prepared
before, it does not yet know it has immutable-handles => can't create the
TpContact from handle/id pair.

To avoid races, TpChannel will need to delay contact creation until
TpConnection has CORE prepared.

Another question: atm all TpContact objects are created as part of TpChannel's
CORE feature because we can create them without extra round-trip. Though, I
would like to add a feature TP_CHANNEL_FEATURE_CONTACTS that delay exposing the
contacts until all desired contact features set on the factory are prepared on
them. Or should I only create TpContact objects if that feature is prepared?

-- 
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