diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.py | 2 | ||||
-rw-r--r-- | src/core/handlers.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/config.py b/src/config.py index 1f0771ca..563c16be 100644 --- a/src/config.py +++ b/src/config.py @@ -28,7 +28,7 @@ DEFAULT_CONFIG = { 'add_space_after_completion': True, 'after_completion': ',', 'alternative_nickname': '', - 'auto_reconnect': False, + 'auto_reconnect': True, 'autorejoin_delay': '5', 'autorejoin': False, 'beep_on': 'highlight private invite', diff --git a/src/core/handlers.py b/src/core/handlers.py index d8f057f8..dc6238d5 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -855,7 +855,7 @@ def on_disconnected(self, event): for tab in self.get_tabs(tabs.MucTab): tab.disconnect() self.information(_("Disconnected from server."), _('Error')) - if not self.legitimate_disconnect and config.get('auto_reconnect', False): + if not self.legitimate_disconnect and config.get('auto_reconnect', True): self.information(_("Auto-reconnecting."), _('Info')) self.xmpp.connect() |