Bug 18576

Summary: Re-specify avatar tokens to be globally unique
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: tp-specAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Simon McVittie 2008-11-17 10:48:21 UTC
At the moment, a correctly implemented avatar cache has to be keyed by the triple (our account, their identifier, avatar token).

It would be vastly easier to implement an avatar cache if we changed the specification for the avatar token to require it to be globally unique, so it could just be keyed by avatar tokens.

For protocols where an avatar is identified by (our identifier, their identifier, a timestamp), the CM could construct a token by concatenating those three things and hashing them or something.

We need to verify that Butterfly's implementation of avatars will still be spec-compliant after this. Haze and Gabble use the hash of the avatar, so their tokens are already globally unique.
Comment 1 Robert McQueen 2008-12-14 10:05:07 UTC
Fixed in spec 0.17.16.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.