Add event for vCard avatar update.

This commit is contained in:
Lance Stout 2012-07-20 18:07:27 -07:00
parent 32e798967e
commit 81d3723084

View file

@ -106,6 +106,7 @@ class XEP_0153(BasePlugin):
return return
elif data == '' or data != self.api['get_hash'](pres['to']): elif data == '' or data != self.api['get_hash'](pres['to']):
self._reset_hash(pres['from']) self._reset_hash(pres['from'])
self.xmpp.event('vcard_avatar_update', pres)
# ================================================================= # =================================================================