Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/nbxmpp
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp')
-rw-r--r--nbxmpp/tcp.py1
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)