Le dimanche 14 janvier 2007 19:27, Jakob Schroeter a écrit :
> Hi,
>
> On Sun Jan 14 2007, Olivier Rossiny wrote:
> > Hello,
> >
> > I'm writing a small XMPP client, and right now, I'm working on the
> > roster. But I can't find information on how to get my contacts' avatar...
> >
> > I already have the VCard, but first of all, should I use the Photo ? the
> > Logo ? and then, how to retrieve the data ??
>
> PHOTO is the one (as specified in XEP-0153: vCard-Based Avatars).
>
> In gloox, the avatar is stored in the binval attribute of a VCard::Photo
> struct which you can retrieve from a VCard using photo().
>
> cheers,
> Jakob
Thank you,
I still have a question... now I can diplay gtalk users' avatars, but I never
receive other avatars (or cannot read them).. is it normal ?
Regards,
Olivier
Attachment:
pgpFFLcO1vPpH.pgp
Description: PGP signature
--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx