From 62ce6a27e77e9fd54d33ba69d1e3ecfd45806b9d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 21 Jun 2012 14:10:01 +0200 Subject: [PATCH] don't try to connect twice when we get see-other-host. see #7179 --- src/common/xmpp/client_nb.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/xmpp/client_nb.py b/src/common/xmpp/client_nb.py index 33db82939..70ebbc6da 100644 --- a/src/common/xmpp/client_nb.py +++ b/src/common/xmpp/client_nb.py @@ -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(