It looks like it I seriously want to make gravatars work, the part of the code I need to work with is this part:
# I'm not sure exactly what this does, it was in the example and it's necessary.
# Don't mess with it unless you understand this project better than I do.
def handle_iq(iq)