Hi,
I'm running eJabberd and Yahoo Transport.
I notice that only some type of images are being retrieved and displayed as "Share my Images", also known as avatars.

Yahoo allows two kind of pictures to share:
A) A customizable picture/character. Yahoo refers to them as Avatars. You can create your own character/cartoon.
   B) Any picture that you have in your computer.

Yahoo Transport only gets avatars type A (the customizable one) ... I tried connecting Gajim to my ejabber server and the yahoo transport and that's the way it works

My questions are:
- Any reason for this behavior?
- I've been trying to modify the code. I thought that the key was in ylib.py:

       if pay[each][213] == '1':
               b = avatar.getavatar(pay[each][197], self.dumpProtocol)
                   if b != None and self.handlers.has_key('avatar'):
                       self.handlers['avatar'](self.fromjid,pay[each][7],b)

Analyzing the packets, I noticed that avatars type B have pay[each][213] equals to 2. However, the surprising/frustrating/funny part of all this is that when I comment out any part of the code that makes a reference to the avatar, the avatar is still been displayed ...

Any hint on how Yahoo Transport is dealing with avatars? Any document/experience?

thank you very much,

Jean
_______________________________________________
py-transports mailing list
py-transports@blathersource.org
http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports

Reply via email to