don't traceback when server doesn't have SSL support. Fixes #7322
This commit is contained in:
parent
64559aea11
commit
46f84aaf97
1 changed files with 1 additions and 1 deletions
|
@ -1328,7 +1328,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
|||
certificate=con.Connection.ssl_certificate[i]))
|
||||
return True
|
||||
i += 1
|
||||
if hasattr(con.Connection, 'ssl_fingerprint_sha1'):
|
||||
if con.Connection.ssl_fingerprint_sha1:
|
||||
saved_fingerprint = gajim.config.get_per('accounts', self.name,
|
||||
'ssl_fingerprint_sha1')
|
||||
if saved_fingerprint:
|
||||
|
|
Loading…
Add table
Reference in a new issue