Merge branch 'vcard-fix-handler' into 'master'
XEP-0054: fix component handling of vcard requests See merge request poezio/slixmpp!127
This commit is contained in:
commit
5d7918b122
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class XEP_0054(BasePlugin):
|
|||
self.api['set_vcard'](jid=iq['from'], args=iq['vcard_temp'])
|
||||
return
|
||||
elif iq['type'] == 'get' and self.xmpp.is_component:
|
||||
vcard = self.api['get_vcard'](iq['from'].bare)
|
||||
vcard = self.api['get_vcard'](iq['to'].bare, ifrom=iq['from'])
|
||||
if isinstance(vcard, Iq):
|
||||
vcard.send()
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue