diff --git a/sleekxmpp/plugins/xep_0054/vcard_temp.py b/sleekxmpp/plugins/xep_0054/vcard_temp.py index b9096759..2c462037 100644 --- a/sleekxmpp/plugins/xep_0054/vcard_temp.py +++ b/sleekxmpp/plugins/xep_0054/vcard_temp.py @@ -114,7 +114,7 @@ class XEP_0054(BasePlugin): iq.reply() iq.append(vcard) iq.send() - else: + elif iq['type'] == 'set': raise XMPPError('service-unavailable') # =================================================================