[Bug 32191] New: tp_connection_get_contacts_by_handle doesn't always give all desired features

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 7 20:31:36 CET 2010


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

           Summary: tp_connection_get_contacts_by_handle doesn't always
                    give all desired features
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: ASSIGNED
          Severity: major
          Priority: medium
         Component: tp-glib
        AssignedTo: simon.mcvittie at collabora.co.uk
        ReportedBy: simon.mcvittie at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


I encountered this while trying to add a self-contact to TpConnection.

The first fast path in tp_connection_get_contacts_by_handle, for the case where
all the desired contacts already exist, tries to avoid D-Bus calls. However, it
tries a bit too hard: it won't call GetContactAttributes even if the desired
features include information that ought to be supplied that way, and isn't
present on all of the already-existing contacts.

The code is a twisty maze of callbacks all alike, but I'm making progress...

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



More information about the telepathy-bugs mailing list