summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0153/vcard_avatar.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-16 23:37:05 -0800
committerLance Stout <lancestout@gmail.com>2013-01-16 23:37:05 -0800
commit648f3f978a84445ed188be055453ac4cab3ed4f5 (patch)
tree716dfb25fbbcbdbe970a6133e4cdda03f8f93223 /sleekxmpp/plugins/xep_0153/vcard_avatar.py
parent64ef6904320d6dd4dbdf4f9418a1dd054163899a (diff)
parent5e4b8bd67c25d670d406198c6b14a432ccb99239 (diff)
downloadslixmpp-648f3f978a84445ed188be055453ac4cab3ed4f5.tar.gz
slixmpp-648f3f978a84445ed188be055453ac4cab3ed4f5.tar.bz2
slixmpp-648f3f978a84445ed188be055453ac4cab3ed4f5.tar.xz
slixmpp-648f3f978a84445ed188be055453ac4cab3ed4f5.zip
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/plugins/xep_0153/vcard_avatar.py')
-rw-r--r--sleekxmpp/plugins/xep_0153/vcard_avatar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0153/vcard_avatar.py b/sleekxmpp/plugins/xep_0153/vcard_avatar.py
index 00122181..874897cb 100644
--- a/sleekxmpp/plugins/xep_0153/vcard_avatar.py
+++ b/sleekxmpp/plugins/xep_0153/vcard_avatar.py
@@ -79,7 +79,7 @@ class XEP_0153(BasePlugin):
def _start(self, event):
try:
- vcard = self.xmpp['xep_0054'].get_vcard()
+ vcard = self.xmpp['xep_0054'].get_vcard(self.xmpp.boundjid.bare)
data = vcard['vcard_temp']['PHOTO']['BINVAL']
if not data:
new_hash = ''