[Bug 21787] New: Connection.Interface.ContactLists

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 18 11:17:20 CEST 2009


http://bugs.freedesktop.org/show_bug.cgi?id=21787

           Summary: Connection.Interface.ContactLists
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: telepathy-spec
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


The current API for contact lists involves a series of named contact list
channels (subscribe, publish, stored, allow, deny) and is in practice rather
complex to work with.

It would be easier if we had a ContactLists interface on the Connection which
looked a lot like the XMPP roster: a list of contacts (the union of the current
subscribe, publish, stored, allow and deny lists), with various flags
indicating whether they are subscribed, subscribed-to, and so on.

We could also use the Contacts interface as the primary accessor for the flags,
potentially leaving ContactLists with one method (GetContactList() -> au,
returning the union of all contact lists - so you do two round-trips to get the
list of contacts plus all their details).

telepathy-qt4's C++ API implements something that looks a lot like this by
merging the information from the current ContactList channels.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list