Add event for vCard avatar update.
This commit is contained in:
parent
32e798967e
commit
81d3723084
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
# =================================================================
|
# =================================================================
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue