[Bug 62378] Offline contact caching

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 16 18:15:44 CET 2013


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

--- Comment #2 from Xavier Claessens <xclaesse at gmail.com> ---
(In reply to comment #1)
> 1) cache filename is build with (cm_name, protocol_name, contact-id) tuple.
> So if I have 2 jabber accounts xclaesse1 at example.com and
> xclaesse2 at example.com and both have smcv at example.com, they will both write
> into the same cache file. And if Simon accepted only xclaesse1's
> subscription request, xclaesse2 could have less info. If it is xclaesse2's
> account would write into cache last then we have less info in the cache that
> we could. Suggestions to improve this?

I'll add the self contact's id into the path then. It can be retrieved using
tp_account_get_normalized_name() from client-side and TpBaseConnection can of
course easily inspect self handle. AFAIK that's enough to make it unambiguous,
right?

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