diff options
author | mathieui <mathieui@mathieui.net> | 2014-12-17 19:07:54 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-12-17 19:07:54 +0100 |
commit | 64ef02d5869fda37c8c2f133e6486f4b4988b798 (patch) | |
tree | 35dd5e68569a424b06d0c2991a7e59ad6cd56165 /src/core | |
parent | c76279c345df3fb9b43146987a07b8708f389ea9 (diff) | |
download | poezio-64ef02d5869fda37c8c2f133e6486f4b4988b798.tar.gz poezio-64ef02d5869fda37c8c2f133e6486f4b4988b798.tar.bz2 poezio-64ef02d5869fda37c8c2f133e6486f4b4988b798.tar.xz poezio-64ef02d5869fda37c8c2f133e6486f4b4988b798.zip |
Explicitly disconnect when refusing to acknowledge a certificate change
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/handlers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py index 8eb99cc3..6c29e7c2 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -1216,7 +1216,7 @@ def validate_ssl(self, pem): self.information(_('Unable to write in the config file'), 'Error') else: self.information('You refused to validate the certificate. You are now disconnected', 'Info') - self.xmpp.disconnect() + self.disconnect() new_loop.stop() asyncio.set_event_loop(old_loop) asyncio.async(check_input(future)) |