summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-20 18:07:27 -0700
committerLance Stout <lancestout@gmail.com>2012-07-20 18:07:27 -0700
commit81d3723084b55b95c660776159fd054f1844f5ac (patch)
tree3713fc9ee554941d9e22838f7bbe4e73653486c2 /sleekxmpp/plugins
parent32e798967e962738723f0f56c2b37619ce9bc44c (diff)
downloadslixmpp-81d3723084b55b95c660776159fd054f1844f5ac.tar.gz
slixmpp-81d3723084b55b95c660776159fd054f1844f5ac.tar.bz2
slixmpp-81d3723084b55b95c660776159fd054f1844f5ac.tar.xz
slixmpp-81d3723084b55b95c660776159fd054f1844f5ac.zip
Add event for vCard avatar update.
Diffstat (limited to 'sleekxmpp/plugins')
-rw-r--r--sleekxmpp/plugins/xep_0153/vcard_avatar.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0153/vcard_avatar.py b/sleekxmpp/plugins/xep_0153/vcard_avatar.py
index 1e32595a..6b70e33e 100644
--- a/sleekxmpp/plugins/xep_0153/vcard_avatar.py
+++ b/sleekxmpp/plugins/xep_0153/vcard_avatar.py
@@ -106,6 +106,7 @@ class XEP_0153(BasePlugin):
return
elif data == '' or data != self.api['get_hash'](pres['to']):
self._reset_hash(pres['from'])
+ self.xmpp.event('vcard_avatar_update', pres)
# =================================================================