Don't clean dict twice, Fixes #5419
This commit is contained in:
parent
bcef68c8e2
commit
5ce4d52dc3
|
@ -1945,10 +1945,10 @@ class Interface:
|
|||
# ('INSECURE_SSL_CONNECTION', account, (connection, connection_type))
|
||||
server = gajim.config.get_per('accounts', account, 'hostname')
|
||||
def on_ok(is_checked):
|
||||
del self.instances[account]['online_dialog']['insecure_ssl']
|
||||
if not is_checked[0]:
|
||||
on_cancel()
|
||||
return
|
||||
del self.instances[account]['online_dialog']['insecure_ssl']
|
||||
if is_checked[1]:
|
||||
gajim.config.set_per('accounts', account,
|
||||
'warn_when_insecure_ssl_connection', False)
|
||||
|
|
Loading…
Reference in New Issue