[Bug 50341] Special trick to add a contact in WLM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 28 20:43:15 CEST 2012


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

--- Comment #14 from Jonny Lamb <jonny.lamb at collabora.co.uk> 2012-05-28 11:43:15 PDT ---
This looks good. One pretty important thing this is missing is caching. We must
only do the getjid dance once for every contact as it's quite expensive.

Let's assume a foo at live.com gets normalized to bar at messenger.live.com. If you
try to normalize bar at messenger.live.com then, yeah, just return it as is and
cache that. If you try to normalize foo at live.com, do the getjid dance and save
both foo at live.com and bar at messenger.live.com as the same handle.

I guess with caching it means this stuff will have to move into
TpDynamicHandleRepo itself though, no?

Does any of this make sense?

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