[Bug 27676] ContactInfo high-level API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 14 08:44:03 CEST 2010


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

--- Comment #4 from Xavier Claessens <xclaesse at gmail.com> 2010-05-13 23:44:03 PDT ---
Turns out that RequestContactInfo has the same issues than what we had with
RequestAvatar: DBus timeout for facebook contacts because server takes ages to
reply.

ContactInfo is exactly the same case as avatars, some XMPP servers takes a lot
of time to reply so we get dbus timeout. There are 2 solutions to this: 1) Let
UI define the timeout for the call, but that's arbitrary value, and we can
always find crap servers that takes more time. 2) Request+signal pattern.

ContactInfo spec actually have both: RefreshContactInfo+ContactInfoChanged and
RequestContactInfo. Avatar iface was in the same situation and we decided to
deprecate RequestAvatar because of that (or was there other reasons that does
not apply here?). So what about also deprecating RequestContactInfo, or at
least not wrap it in the high-level API?

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