summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-04-29 13:33:30 -0700
committerLance Stout <lancestout@gmail.com>2012-04-29 13:33:30 -0700
commit1cf55c14b0498843314f471c200b7c0d8515ec96 (patch)
tree758ebffda69f171d495f43d9356cd20de3ba0d44
parent8b4715978802b94088c4440a87b9c86849cfd9cb (diff)
downloadslixmpp-1cf55c14b0498843314f471c200b7c0d8515ec96.tar.gz
slixmpp-1cf55c14b0498843314f471c200b7c0d8515ec96.tar.bz2
slixmpp-1cf55c14b0498843314f471c200b7c0d8515ec96.tar.xz
slixmpp-1cf55c14b0498843314f471c200b7c0d8515ec96.zip
Don't raise errors when receiving an iq error for vcards.
-rw-r--r--sleekxmpp/plugins/xep_0054/vcard_temp.py2
1 files changed, 1 insertions, 1 deletions
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')
# =================================================================