From 64ef02d5869fda37c8c2f133e6486f4b4988b798 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 17 Dec 2014 19:07:54 +0100 Subject: Explicitly disconnect when refusing to acknowledge a certificate change --- src/core/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.2.3