Commit 29f26e3b authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't try to connect twice when we get see-other-host.

parent 51689ec9
...@@ -354,6 +354,7 @@ class NonBlockingClient: ...@@ -354,6 +354,7 @@ class NonBlockingClient:
self.Dispatcher.ProcessNonBlocking(data) self.Dispatcher.ProcessNonBlocking(data)
if self.got_see_other_host: if self.got_see_other_host:'got see-other-host')'got see-other-host')
self.on_stream_error_cb(self, self.got_see_other_host) self.on_stream_error_cb(self, self.got_see_other_host)
elif not self.got_features: elif not self.got_features:
self._xmpp_connect_machine(mode='FAILURE', self._xmpp_connect_machine(mode='FAILURE',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment