diff options
author | lovetox <philipp@hoerist.com> | 2020-03-19 20:53:56 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-03-19 20:53:56 +0300 |
commit | 0c7293b8bb01f16a717e736727d7bcad4f888d57 (patch) | |
tree | 3b5b6c0ea60c0990c4b7c6dc7f32b2e1edd5ca0f | |
parent | 3bf389dfb00d085ff263dfea0b5cc64cbfa5d0cf (diff) |
TCP: Don't use deprecated method
-rw-r--r-- | nbxmpp/tcp.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nbxmpp/tcp.py b/nbxmpp/tcp.py index 7647660..ea3e2d2 100644 --- a/nbxmpp/tcp.py +++ b/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) |