save ssl fingerprint as soon as we accept a connection to the host. Fixes #7041
This commit is contained in:
parent
46d6453634
commit
55d48e0d7c
|
@ -1179,8 +1179,8 @@ class Interface:
|
|||
f.write(server + '\n')
|
||||
f.write(obj.cert + '\n\n')
|
||||
f.close()
|
||||
gajim.config.set_per('accounts', account,
|
||||
'ssl_fingerprint_sha1', obj.fingerprint)
|
||||
gajim.config.set_per('accounts', account, 'ssl_fingerprint_sha1',
|
||||
obj.fingerprint)
|
||||
if is_checked[1]:
|
||||
ignore_ssl_errors = gajim.config.get_per('accounts', account,
|
||||
'ignore_ssl_errors').split()
|
||||
|
|
Loading…
Reference in New Issue