[Telepathy] [Bug 20034] Avatar cache reference implementation
Johann Prieur
johann.prieur at gmail.com
Wed Mar 18 02:39:56 PDT 2009
Hi,
On Wed, Mar 18, 2009 at 9:37 AM, Guilhem Bonnefille
<guilhem.bonnefille at gmail.com> wrote:
> Hi,
>
> Reading this bug, I have a (foolish) idea: what about having a D-Bus
> provider for avatar?
> First service can be to store avatars on local machine. So, this can
> afford caching service.
> But we can imagine to add a more complex machinery allowing to
> retrieve avatars from web services (like gravatar).
You might want to implement this on top of People [1]. It makes sense
as People discovers information about a contact's avatars from
different sources (telepathy, gravatar, and potentially all the
services providing avatars), information which is exposed on D-Bus.
Needed bits to add would be the access (the service will provide you
with URIs, base64 encoded data, or whatever representing the avatar)
and caching of the data in a library accessing the People service and
providing an API to be directly used in applications (no need to
expose that one on D-Bus).
--
Johann
[1] https://launchpad.net/people-project
More information about the telepathy
mailing list