Skip to content
Snippets Groups Projects
Commit 46f84aaf authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

don't traceback when server doesn't have SSL support. Fixes #7322

parent 64559aea
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment