core (xmpp): use the cleaner stopTrying() instead of setting continueTrying = 0 when connection is not possible due to invalid certificate.
This commit is contained in:
parent
2f4651d22b
commit
9186fd1a3c
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ class SatXMPPEntity(object):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue