Philipp Hörist pushed to branch master at gajim / python-nbxmpp

Commits:

1 changed file:

Changes:

  • nbxmpp/tcp.py
    ... ... @@ -167,7 +167,6 @@ class TCPConnection(Connection):
    167 167
     
    
    168 168
             if self._address.type == ConnectionType.DIRECT_TLS:
    
    169 169
                 tls_client.set_advertised_protocols(['xmpp-client'])
    
    170
    -        tls_client.set_rehandshake_mode(Gio.TlsRehandshakeMode.NEVER)
    
    171 170
             tls_client.set_validation_flags(Gio.TlsCertificateFlags.VALIDATE_ALL)
    
    172 171
             tls_client.connect('accept-certificate', self._check_certificate)
    
    173 172
             tls_client.connect('notify::peer-certificate', self._on_certificate_set)