[Bug 38248] Get attributes for contacts related to a channel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 28 19:24:09 CEST 2011


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

--- Comment #5 from Will Thompson <will.thompson at collabora.co.uk> 2011-06-28 10:24:08 PDT ---
(In reply to comment #4)
> (In reply to comment #3)
> > My personal preference is solution 4 (consistent with ContactList iface)
> > together with additional SelfID:s and OwndersID:a{us} properties (consistent
> > with Channel iface) and their respective Detailed signal which gives an a{sv}
> > (consistent with MembersChangedDetailed).
> 
> Oh, forgot that I've actually had something against that:
> 
> (In reply to comment #2)
> > Also in the case the channel does not have specific handles, it means we would
> > be getting attributes for contacts we probably already have from the connection
> > anyway.
> 
> 
> Maybe the less intrusive change would just to add a new property
> identifiers:a{us} giving the mapping from handles to id for all handles on the
> group interface...

I think adding a new property, Group.MemberIdentifiers: a{us}y, containing the
handle→identifier map of all members of any kind on the channel, would be
enough? I guess additions to this could be signalled before any other signal
that introduces a handle, such as Group.SelfHandleChanged.

It might also be nice if, when you call GetContactAttributes() for a
channel-specific handle, you get an attribute mapping them to their real
handle. This could be exposed as another TpContact in tp-glib. Maybe also
GetContactAttributes would return all the attributes for the handle's owner,
too?

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