From 647e54c8db4c22985511de33dc78719ce7a71a05 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> 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 33db829397..70ebbc6da5 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( -- GitLab