diff options
-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 098b0e34..214746e9 100644 --- a/slixmpp/plugins/xep_0054/vcard_temp.py +++ b/slixmpp/plugins/xep_0054/vcard_temp.py @@ -123,7 +123,7 @@ class XEP_0054(BasePlugin): if iq['type'] == 'result': self.api['set_vcard'](jid=iq['from'], args=iq['vcard_temp']) return - elif iq['type'] == 'get': + elif iq['type'] == 'get' and self.xmpp.is_component: vcard = self.api['get_vcard'](iq['from'].bare) if isinstance(vcard, Iq): vcard.send() |