Fixed typo in _handle_get_vcard()
This commit is contained in:
parent
8da387a38a
commit
7d59a8a0ad
@ -107,7 +107,7 @@ class XEP_0054(BasePlugin):
|
|||||||
self.api['set_vcard'](jid=iq['from'], args=iq['vcard_temp'])
|
self.api['set_vcard'](jid=iq['from'], args=iq['vcard_temp'])
|
||||||
return
|
return
|
||||||
elif iq['type'] == 'get':
|
elif iq['type'] == 'get':
|
||||||
vcard = self.api['get_vard'](iq['from'].bare)
|
vcard = self.api['get_vcard'](iq['from'].bare)
|
||||||
if isinstance(vcard, Iq):
|
if isinstance(vcard, Iq):
|
||||||
vcard.send()
|
vcard.send()
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user