diff options
Diffstat (limited to 'slixmpp/features')
-rw-r--r-- | slixmpp/features/feature_bind/bind.py | 2 | ||||
-rw-r--r-- | slixmpp/features/feature_session/session.py | 2 |
2 files changed, 2 insertions, 2 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) diff --git a/slixmpp/features/feature_session/session.py b/slixmpp/features/feature_session/session.py index e57405db..0635455a 100644 --- a/slixmpp/features/feature_session/session.py +++ b/slixmpp/features/feature_session/session.py @@ -44,7 +44,7 @@ class FeatureSession(BasePlugin): iq = self.xmpp.Iq() iq['type'] = 'set' iq.enable('session') - iq.send(block=False, callback=self._on_start_session_response) + iq.send(callback=self._on_start_session_response) def _on_start_session_response(self, response): self.xmpp.features.add('session') |