summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-12-04 15:30:18 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-12-04 15:30:18 +0100
commit0800c666eb69fe6934dad08d8bd2d3996cb5cef1 (patch)
treeaac3809bfe3648e80e09c92e064bfbdf0e17f0c0 /src/core
parenta208dc87ee918c13fb168ed20a2fb01412344df1 (diff)
downloadpoezio-0800c666eb69fe6934dad08d8bd2d3996cb5cef1.tar.gz
poezio-0800c666eb69fe6934dad08d8bd2d3996cb5cef1.tar.bz2
poezio-0800c666eb69fe6934dad08d8bd2d3996cb5cef1.tar.xz
poezio-0800c666eb69fe6934dad08d8bd2d3996cb5cef1.zip
Set auto_reconnect to True by default
Diffstat (limited to 'src/core')
-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 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()