Philipp Hörist pushed to branch master at gajim / gajim


Commits:
4d0ddb13 by Philipp Hörist at 2025-10-01T17:59:44+02:00
fix: Preferences: Don’t fail to open dialog if connection is PLAIN

Fixes #12471

- - - - -


1 changed file:

- gajim/gtk/preference/account.py


Changes:

=====================================
gajim/gtk/preference/account.py
=====================================
@@ -533,8 +533,7 @@ def __init__(self, account: str) -> None:
             self._connection_type.add_css_class("error")
 
         assert nbxmpp_client is not None
-        assert nbxmpp_client.tls_version is not None
-        tls_version = TLS_VERSION_STRINGS.get(nbxmpp_client.tls_version)
+        tls_version = TLS_VERSION_STRINGS.get(nbxmpp_client.tls_version or -1)
         self._tls_version.set_subtitle(tls_version or _("Not available"))
 
         self._cipher_suite.set_subtitle(nbxmpp_client.ciphersuite or _("Not 
available"))



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/4d0ddb138d69c20cb878d9be1814bcf491f6e12d

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/4d0ddb138d69c20cb878d9be1814bcf491f6e12d
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to