# HG changeset patch # User Goffi # Date 1554492125 -7200 # Node ID 368a60f05d0e914703e5a7f1ab3148aa4d49cce2 # Parent 7e8ca7c1429a66a1e7b6e1f31066e482a294c19c core (xmpp): use the cleaner stopTrying() instead of setting `continueTrying = 0` when connection is not possible due to invalid certificate. diff -r 7e8ca7c1429a -r 368a60f05d0e sat/core/xmpp.py --- a/sat/core/xmpp.py Fri Apr 05 21:22:05 2019 +0200 +++ b/sat/core/xmpp.py Fri Apr 05 21:22:05 2019 +0200 @@ -313,7 +313,7 @@ u"This should never happen and may indicate that " u"somebody is trying to spy on you.\n" u"Please contact your server administrator.")) - self.factory.continueTrying = 0 + self.factory.stopTrying() except (IndexError, TypeError): pass self.conn_deferred.errback(err)