[Bug 20035] Avatar cache reference implementation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 18 15:25:47 CEST 2010


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

--- Comment #24 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-05-18 06:25:46 PDT ---
(In reply to comment #18)
> (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.
> 
> Right.
> Smcv: what would you suggest here?

I think Zdra is right - the CM name, protocol and token make a suitable tuple
to key the cache with.

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