Ensure that initial vCard requests are sent.

This commit is contained in:
Lance Stout 2013-01-16 23:36:22 -08:00
parent 41991b5982
commit 5e4b8bd67c

View file

@ -79,7 +79,7 @@ class XEP_0153(BasePlugin):
def _start(self, event): def _start(self, event):
try: 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'] data = vcard['vcard_temp']['PHOTO']['BINVAL']
if not data: if not data:
new_hash = '' new_hash = ''