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

This commit is contained in:
Yann Leboulanger 2012-06-21 14:10:01 +02:00
parent 9cd4508550
commit 62ce6a27e7
1 changed files with 1 additions and 0 deletions

View File

@ -354,6 +354,7 @@ class NonBlockingClient:
self.Dispatcher.ProcessNonBlocking(data)
if self.got_see_other_host:
log.info('got see-other-host')
self.onreceive(None)
self.on_stream_error_cb(self, self.got_see_other_host)
elif not self.got_features:
self._xmpp_connect_machine(