Mercurial > libervia-backend
changeset 2884:368a60f05d0e
core (xmpp): use the cleaner stopTrying() instead of setting `continueTrying = 0` when connection is not possible due to invalid certificate.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 05 Apr 2019 21:22:05 +0200 |
parents | 7e8ca7c1429a |
children | e9016bfd8cb2 |
files | sat/core/xmpp.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)