Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 0c7293b8 by lovetox at 2020-03-19T18:53:56+01:00 TCP: Don't use deprecated method
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
===================================== nbxmpp/tcp.py ===================================== @@ -167,7 +167,6 @@ class TCPConnection(Connection):
if self._address.type == ConnectionType.DIRECT_TLS: tls_client.set_advertised_protocols(['xmpp-client']) - tls_client.set_rehandshake_mode(Gio.TlsRehandshakeMode.NEVER) tls_client.set_validation_flags(Gio.TlsCertificateFlags.VALIDATE_ALL) tls_client.connect('accept-certificate', self._check_certificate) tls_client.connect('notify::peer-certificate', self._on_certificate_set)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/0c7293b8bb01f16a717e73672...