summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-07-20 23:55:10 +0200
committermathieui <mathieui@mathieui.net>2015-07-20 23:55:10 +0200
commit1d74d67c1e5f56cab1f8a884f3fa71acc3fba3cb (patch)
treee6e20eeeaf42c7841b46353d79768b9c506c38ac /src
parent74a90dfdb70215ed30d5a5ada5cb6b830574a19f (diff)
downloadpoezio-1d74d67c1e5f56cab1f8a884f3fa71acc3fba3cb.tar.gz
poezio-1d74d67c1e5f56cab1f8a884f3fa71acc3fba3cb.tar.bz2
poezio-1d74d67c1e5f56cab1f8a884f3fa71acc3fba3cb.tar.xz
poezio-1d74d67c1e5f56cab1f8a884f3fa71acc3fba3cb.zip
Fix wrong DNS resolution when reconnecting
even if custom_host was set, poezio would use the dns records for the reconnection
Diffstat (limited to 'src')
-rw-r--r--src/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
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):
"""