[Telepathy] Avatar interface proposal

Robert McQueen robert.mcqueen at collabora.co.uk
Thu Jun 8 06:30:11 PDT 2006


Andre Magalhaes wrote:
> On XMPP vcard based avatar, for a user to set its own avatar, it uses
> the vcard-temp. But it can't just send the vcard diff to update the
> vcard. It needs to send the full vcard or the older user info will be
> overwritten. So to do this on XMPP at least, we will need to before
> sending the new avatar, request the user vcard, update it with the new
> vcard and then update it. Is this what we want?

We've got no option really, that's what vCard forces us to do. :(

While you're thinking about vCard stuff, I want to replace the
ContactInfo interface with something more Telepathy-like, where user
information is represented by a dictionary of strings to variants.
Exposing the clients to vCard-temp XML is horrible, so I've actually
disabled that code in Gabble.

Something like:

GetInfoFields () -> a{sg}
RequestInfo (u: contact) -> a{sv}
SetInfo (a{sv}: fields) -> None

And just define some well known fields, name, address, phone, email, yada.

> BR
> Andrunko

Regards,
Rob


More information about the Telepathy mailing list