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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 12 16:51:26 CEST 2011


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

--- Comment #17 from Will Thompson <will.thompson at collabora.co.uk> 2011-09-12 07:51:26 PDT ---
(In reply to comment #15)
> (In reply to comment #14)
> > (In reply to comment #13)
> > > Spec looks good. But how is a client supposed to know whether or not the new
> > > signals will be emitted? In your tp-glib branch you're emitting the new ones
> > > after the old ones, so… yeah, it's just “some properties are randomly NULL”.
> > 
> > I guess tp-glib could detect how modern the CM is by the presence or absence of
> > the MemberIdentifiers property in the GetAll reply.
> 
> Yep, that's already what my code does, see the comment in
> tp_channel_got_group_properties_cb()

So to be clear, I'm suggesting:
• if the CM is too old, TP_CHANNEL_FEATURE_CONTACTS should fail to prepare;
• this should be documented;
• the properties and methods relating to it should be documented to return
NULL/FALSE/whatever until/unless CONTACTS 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