[Gossip-dev] Avatars+Gossip+Telepathy

Xavier Claessens xclaesse at gmail.com
Mon Nov 6 09:42:13 CET 2006


Le dimanche 05 novembre 2006 à 17:28 -0800, Raphaël Slinckx a écrit :
> Hi !
> 
> I have started implementing avatars for the gossip branch using
> telepathy. I am also implementing the server-side group support. Both of
> these use experimental (non-reviewed) branches of the gabble connection
> managers, so unfortunately is relatively hard to try these out yet.
> Avatars work already, but there are some issues which i want to raise
> here:
>  * Since we need some persistant storage of the avatar token (to
> optimize bus transfers) what API should i use to store a contact's
> avatar ID to disk and read it back on restart. I suspect it involves
> xml, am I right? Any pointer is appreciated here.

I think a good idea is to store avatars in PNG files, the name of the
file can be used to know for which contact the PNG is for. This way
users can get avatars from (for example)

 ~/.gnome2/Gossip/<account>/<id>.png

Another solution is to store it in XML or plain-text file using base64
encoded.

>  * This is a general problem in the Telepathy branch, every single
> telepathy dbus call is synchronous. In the case of avatars it breaks
> horribly since requesting an avatar is a direct IO operation over the
> network. The whole branch need to be ported to async calls everywhere. I
> can do this, but right now i prefer to concentrate on features. When i
> finish avatars and server-side groups, i will start porting everything
> to async calls.

I think for testing sync call can make the job, but sure it isn't
acceptable for final release.

> As for the Server-side groups, i am going to start later today, i
> already read the API. I still need to observe the existing code and find
> the good spot to add the code for it.

Good news ! I didn't know it's implemented in gabble/butterfly/etc yet.

> I hope no-one else is doing this, or we might have an overlap here. If
> it's the case please manifest yourselves !

AFAIK you're the only one to work on this, many thanks !

Xavier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.imendio.com/pipermail/gossip-dev/attachments/20061106/0cebabfe/attachment.pgp


More information about the Gossip-dev mailing list