Bug 18576 - Re-specify avatar tokens to be globally unique
Summary: Re-specify avatar tokens to be globally unique
Status: RESOLVED FIXED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-spec (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-17 10:48 UTC by Simon McVittie
Modified: 2008-12-14 10:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.