core, plugin misc_account: set XMPP connection max retries to 0 when checking if an external account exists
This commit is contained in:
parent
ffee469c3e
commit
f3a5cb2a96
4 changed files with 11 additions and 8 deletions
|
|
@ -541,7 +541,7 @@ http://www.salut-a-toi.org
|
|||
|
||||
d = self.registerAccount(None, password, jid_s, jid_s)
|
||||
d.addCallback(lambda dummy: self.host.memory.getProfileName(jid_s)) # checks if the profile has been successfuly created
|
||||
d.addCallback(self.host.asyncConnect, password)
|
||||
d.addCallback(self.host.asyncConnect, password, 0)
|
||||
|
||||
def removeProfile(failure): # profile has been successfully created but the XMPP credentials are wrong!
|
||||
log.debug("Removing previously auto-created profile: %s" % failure.getErrorMessage())
|
||||
|
|
|
|||
Loading…
Reference in a new issue