[Bug 27676] ContactInfo high-level API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri May 14 13:18:47 CEST 2010


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

--- Comment #5 from Will Thompson <will.thompson at collabora.co.uk> 2010-05-14 04:18:46 PDT ---
(In reply to comment #4)
> 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?

The point of it was for protocols where you don't get change notification for
vCards (which includes XMPP), so you can explicitly update just one contact's
info when the user mashes refresh in the window for them.

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