[Bug 33410] Do on-disk avatar cache in CM

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 8 11:13:19 CEST 2012


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

--- Comment #18 from Xavier Claessens <xclaesse at gmail.com> 2012-06-08 02:13:19 PDT ---
(In reply to comment #17)
> One answer would be for the client interests to be self-describing things like
> /subscribe-avatars, /presence-received-avatars and /anyone-interacting-avatars.

My idea was to define the set as "anyone for who the CM has a useful way to
lookup on disk cache" which is for gabble the same as
"/presence-received-avatars". " /subscribe-avatars" must be avoided because on
XMPP we don't get token for offline contacts, even when subscribed.

That basically mean for the client: if you don't have an URI, then you just
can't have an avatar, no need to request one. Which is all the client needs to
know. With the exception in the case the client is doing persistent storage of
contacts, like N9(00), then client could still call RequestAvatars on a
first-seen contact (to get avatar of offline XMPP contacts but won't update
until the contact is seen online).

> Or, you could even just remove the /self-avatar client interest and assume that
> it's always-on?

I agree self avatar should be always-on.

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