Fix wrong DNS resolution when reconnecting

even if custom_host was set, poezio would use the dns records for the
reconnection
This commit is contained in:
mathieui 2015-07-20 23:55:10 +02:00
parent 74a90dfdb7
commit 1d74d67c1e
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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):
"""