Powered By:
Clearspace
BlatherSource: Because development won't keep quiet

Daniel Henninger's BlatherBlog

1 Post tagged with the gaim tag
0

Buddy Icons!

Posted by Daniel Henninger Nov 20, 2005

After much frustration, PyAIM finally has full buddy icon support!  I spent the longest time trying to figure out why I was seeing odd "extra data" tagged on to packets I was receiving.  Note that I could not figure out how Gaim was doing it either.  I finally had hit a point where it was time to ask for help, so I went hunting for KingAnt, the fellow who writes the OSCAR support in Gaim.  I could not find him on irc very easily, so I decided to email him and, ironically, in the process of emailing him and pasting what I was seeing, asking questions, et al, I stumbled across the key piece of information I needed to see.  There's a flag that can be attached to a SNAC packet that actually says "hey, there's going to be some crap in the front of your data!".  Well ok, it doesn't really -mean- that, but it might as well say that.  >=)  Lots of interesting side-issues involving AIM's lack of support for PNGs, and various size restrictions, and it's general weirdness when pulling icons from the icon server.  The icon server really enjoys not giving you what you ask.  =D  (or rather, it rejects the connection, or doesn't send you a proper icon)  I've decided to base most of my code endeavours on Gaim instead of the online docs I've been using.  Thing is, Gaim is more up to date and accurate with all of the oddities of OSCAR.  Those guys rock.

0 Comments 0 References Permalink