summaryrefslogtreecommitdiff
path: root/sleekxmpp/clientxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-05-20 13:46:46 -0400
committerLance Stout <lancestout@gmail.com>2011-05-20 13:46:46 -0400
commita269be485f2918b332c9fa3717541fc0c6c954c2 (patch)
tree14d1783cf44e7ca5e10cb10128d84b68ed3f95e5 /sleekxmpp/clientxmpp.py
parente694e4a79172f0cbced79f930ca03767ce3c0792 (diff)
parent6a07e7cbe3e995f44ca3ba75a0ff83616269cf5a (diff)
downloadslixmpp-a269be485f2918b332c9fa3717541fc0c6c954c2.tar.gz
slixmpp-a269be485f2918b332c9fa3717541fc0c6c954c2.tar.bz2
slixmpp-a269be485f2918b332c9fa3717541fc0c6c954c2.tar.xz
slixmpp-a269be485f2918b332c9fa3717541fc0c6c954c2.zip
Merge branch 'develop' into stream_features
Diffstat (limited to 'sleekxmpp/clientxmpp.py')
-rw-r--r--sleekxmpp/clientxmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py
index dc08522d..a93afe56 100644
--- a/sleekxmpp/clientxmpp.py
+++ b/sleekxmpp/clientxmpp.py
@@ -274,7 +274,7 @@ class ClientXMPP(BaseXMPP):
'subscription': subscription,
'groups': groups}}
response = iq.send(block, timeout, callback)
- if response in [False, None]:
+ if response in [False, None] or not isinstance(response, Iq):
return response
return response['type'] == 'result'