From 1d74d67c1e5f56cab1f8a884f3fa71acc3fba3cb Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 20 Jul 2015 23:55:10 +0200 Subject: Fix wrong DNS resolution when reconnecting even if custom_host was set, poezio would use the dns records for the reconnection --- src/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/handlers.py b/src/core/handlers.py index 00e64ba8..56ff7b42 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -947,7 +947,7 @@ def on_disconnected(self, event): self.information("Disconnected from server.", msg_typ) if not self.legitimate_disconnect and config.get('auto_reconnect', True): self.information("Auto-reconnecting.", 'Info') - self.xmpp.connect() + self.xmpp.start() def on_stream_error(self, event): """ -- cgit v1.2.3