[Bug 20035] Avatar cache reference implementation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 10 11:48:32 CEST 2010


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

--- Comment #17 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-05-10 02:48:31 PDT ---
(In reply to comment #16)
> >   dir = g_build_filename (g_get_user_cache_dir (),
> >       "telepathy", "avatars", cm_name, protocol, NULL);
> > Wouldn't it be better to use the account rather than the connection to build
> > this directory?
> 
> TpContact doesn't know about account, it only has a TpConnection.

Also, telepathy-spec guarantees that the tuple (CM name, protocol, token) is
unique (this can actually be useful sometimes - I have, byte-for-byte, the same
avatar on several XMPP accounts, and using this tuple means my friends only
cache it once).

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