summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0153
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-01-16 23:36:22 -0800
committerLance Stout <lancestout@gmail.com>2013-01-16 23:36:22 -0800
commit5e4b8bd67c25d670d406198c6b14a432ccb99239 (patch)
tree0e572757497b57b97c66f3bb91082796436db43a /sleekxmpp/plugins/xep_0153
parent41991b5982e6cfc9015eaf00663348ca6d4d3b2d (diff)
downloadslixmpp-5e4b8bd67c25d670d406198c6b14a432ccb99239.tar.gz
slixmpp-5e4b8bd67c25d670d406198c6b14a432ccb99239.tar.bz2
slixmpp-5e4b8bd67c25d670d406198c6b14a432ccb99239.tar.xz
slixmpp-5e4b8bd67c25d670d406198c6b14a432ccb99239.zip
Ensure that initial vCard requests are sent.
Diffstat (limited to 'sleekxmpp/plugins/xep_0153')
-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 = ''