Mercurial > libervia-backend
comparison src/core/sat_main.py @ 1043:066308706dc6
core, stdui (profile manager), quick_app: ask for another XMPP password when profile authentication succeed but XMPP connection fails
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 21 May 2014 23:15:01 +0200 |
parents | 6e975c6b0faf |
children | e88bff4c8b77 |
comparison
equal
deleted
inserted
replaced
1042:59de0c7a28ec | 1043:066308706dc6 |
---|---|
236 | 236 |
237 d = self._authenticateProfile(password, profile) | 237 d = self._authenticateProfile(password, profile) |
238 d.addCallback(connectXMPPClient) | 238 d.addCallback(connectXMPPClient) |
239 return d | 239 return d |
240 | 240 |
241 self._initialised.addErrback(lambda dummy: None) # allow successive attempts | |
241 return self._initialised.addCallback(backendInitialised) | 242 return self._initialised.addCallback(backendInitialised) |
242 | 243 |
243 @defer.inlineCallbacks | 244 @defer.inlineCallbacks |
244 def _connectXMPPClient(self, profile): | 245 def _connectXMPPClient(self, profile): |
245 """This part is called from asyncConnect when we have loaded individual parameters from memory""" | 246 """This part is called from asyncConnect when we have loaded individual parameters from memory""" |