[PyXMPP] How do I use VCard support?
David Gaarenstroom
david.gaarenstroom at gmail.com
Wed Sep 30 11:22:26 CEST 2009
> When writing a component, I did something like this:
>
> read vcard from file:
> ...
> register a handler:
> ...
> handler:
> ...
> If you're writing a client then you don't need to reply to vcard requests, but
> maybe this helps a bit.
I forgot to mention, but I'm writing a client, not a server.
My roster seems to contain vcards for some of my buddies. Mostly, I
want to retrieve these vcards, but sending/updating mine is also
something I want to do. As far as I can see, your code only replies to
vcard requests?
If so, how do I retrieve someone's vcard (and especially there photo)?
Apparently they are sent to me (when I retrieve my buddies form my
roster), but I don't know how to handle them properly.
Thanks in advance,
David
More information about the PyXMPP
mailing list