From 5e4b8bd67c25d670d406198c6b14a432ccb99239 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 16 Jan 2013 23:36:22 -0800 Subject: [PATCH] Ensure that initial vCard requests are sent. --- sleekxmpp/plugins/xep_0153/vcard_avatar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ''