From 0800c666eb69fe6934dad08d8bd2d3996cb5cef1 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 4 Dec 2014 15:30:18 +0100 Subject: Set auto_reconnect to True by default --- src/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') 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() -- cgit v1.2.3