diff options
author | Link Mauve <linkmauve@linkmauve.fr> | 2021-02-13 22:02:31 +0100 |
---|---|---|
committer | Link Mauve <linkmauve@linkmauve.fr> | 2021-02-13 22:02:31 +0100 |
commit | 5d7918b122bc95d0fa1117e5fea41e742a4a1f76 (patch) | |
tree | 755458d51d1b6a2d7b0d0af725fce2dc7ce609e3 | |
parent | f50dfd6644aa004ae0c6cad41cf131273bc49663 (diff) | |
parent | 3eeef6b4b635aa99b01452798d8b68c1da687aad (diff) | |
download | slixmpp-5d7918b122bc95d0fa1117e5fea41e742a4a1f76.tar.gz slixmpp-5d7918b122bc95d0fa1117e5fea41e742a4a1f76.tar.bz2 slixmpp-5d7918b122bc95d0fa1117e5fea41e742a4a1f76.tar.xz slixmpp-5d7918b122bc95d0fa1117e5fea41e742a4a1f76.zip |
Merge branch 'vcard-fix-handler' into 'master'
XEP-0054: fix component handling of vcard requests
See merge request poezio/slixmpp!127
-rw-r--r-- | slixmpp/plugins/xep_0054/vcard_temp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0054/vcard_temp.py b/slixmpp/plugins/xep_0054/vcard_temp.py index 5651b611..bee20ce0 100644 --- a/slixmpp/plugins/xep_0054/vcard_temp.py +++ b/slixmpp/plugins/xep_0054/vcard_temp.py @@ -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: |