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:
parent
74a90dfdb7
commit
1d74d67c1e
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue