summaryrefslogtreecommitdiff
path: root/slixmpp/features/feature_bind/bind.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-07-30 17:52:59 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-07-30 17:52:59 +0200
commitab03ad54aaca1725b943abf16585fa4ef6f08897 (patch)
tree66a18ee01a78b99dbcb5123ea09be523c766cc47 /slixmpp/features/feature_bind/bind.py
parent2e571ac95089f15df7eee8f29d519f2bef425d4d (diff)
downloadslixmpp-ab03ad54aaca1725b943abf16585fa4ef6f08897.tar.gz
slixmpp-ab03ad54aaca1725b943abf16585fa4ef6f08897.tar.bz2
slixmpp-ab03ad54aaca1725b943abf16585fa4ef6f08897.tar.xz
slixmpp-ab03ad54aaca1725b943abf16585fa4ef6f08897.zip
Fix the iq.send() function, and a bunch of places where it is called
This is a big-and-dirty commit with a bunch of cleanup, maybe breaking a few things, and not fixing all iq.send() calls yet.
Diffstat (limited to 'slixmpp/features/feature_bind/bind.py')
-rw-r--r--slixmpp/features/feature_bind/bind.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/features/feature_bind/bind.py b/slixmpp/features/feature_bind/bind.py
index d41bbc3f..25c99948 100644
--- a/slixmpp/features/feature_bind/bind.py
+++ b/slixmpp/features/feature_bind/bind.py
@@ -49,7 +49,7 @@ class FeatureBind(BasePlugin):
if self.xmpp.requested_jid.resource:
iq['bind']['resource'] = self.xmpp.requested_jid.resource
- iq.send(block=False, callback=self._on_bind_response)
+ iq.send(callback=self._on_bind_response)
def _on_bind_response(self, response):
self.xmpp.boundjid = JID(response['bind']['jid'], cache_lock=True)