Do not automatically reconnect. Ever
This commit is contained in:
parent
63d2b8f06f
commit
9a81b923e6
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ class Connection(sleekxmpp.ClientXMPP):
|
||||||
jid = '%s/%s' % (config.get('server', 'anon.louiz.org'), resource)
|
jid = '%s/%s' % (config.get('server', 'anon.louiz.org'), resource)
|
||||||
password = None
|
password = None
|
||||||
sleekxmpp.ClientXMPP.__init__(self, jid, password, ssl=True)
|
sleekxmpp.ClientXMPP.__init__(self, jid, password, ssl=True)
|
||||||
|
self.auto_reconnect = False
|
||||||
self.register_plugin('xep_0030')
|
self.register_plugin('xep_0030')
|
||||||
self.register_plugin('xep_0045')
|
self.register_plugin('xep_0045')
|
||||||
if config.get('send_poezio_info', 'true') == 'true':
|
if config.get('send_poezio_info', 'true') == 'true':
|
||||||
|
|
Loading…
Reference in a new issue