summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-10 19:28:17 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-10 19:28:17 +0100
commit9a81b923e6748086f468ff255a4fe1d9ba892ec1 (patch)
tree800f88f19ab7b47e5c3d5fbd9f24cbda043e3293
parent63d2b8f06f81f6fdc5b36af67b493ca3cc6c7865 (diff)
downloadpoezio-9a81b923e6748086f468ff255a4fe1d9ba892ec1.tar.gz
poezio-9a81b923e6748086f468ff255a4fe1d9ba892ec1.tar.bz2
poezio-9a81b923e6748086f468ff255a4fe1d9ba892ec1.tar.xz
poezio-9a81b923e6748086f468ff255a4fe1d9ba892ec1.zip
Do not automatically reconnect. Ever
-rw-r--r--src/connection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.py b/src/connection.py
index 0373c4e7..dc2eeaae 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -49,6 +49,7 @@ class Connection(sleekxmpp.ClientXMPP):
jid = '%s/%s' % (config.get('server', 'anon.louiz.org'), resource)
password = None
sleekxmpp.ClientXMPP.__init__(self, jid, password, ssl=True)
+ self.auto_reconnect = False
self.register_plugin('xep_0030')
self.register_plugin('xep_0045')
if config.get('send_poezio_info', 'true') == 'true':