don't try to connect twice when we get see-other-host. see #7179
This commit is contained in:
parent
9cd4508550
commit
62ce6a27e7
|
@ -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:
|
||||||
log.info('got see-other-host')
|
log.info('got see-other-host')
|
||||||
|
self.onreceive(None)
|
||||||
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(
|
self._xmpp_connect_machine(
|
||||||
|
|
Loading…
Reference in New Issue