core, stdui (profile manager), quick_app: ask for another XMPP password when profile authentication succeed but XMPP connection fails

This commit is contained in:
souliane 2014-05-21 23:15:01 +02:00
commit 8be7416569

View file

@ -236,7 +236,7 @@ class QuickApp(object):
log.debug(_("Connection Error"))
self.disconnected(profile)
if error_type == "AUTH_ERROR":
self.showDialog(_("Can't connect to account, please check your password"), _("Connection error"), "error")
self.launchAction(C.CHANGE_XMPP_PASSWD_ID, {}, profile_key=profile)
else:
log.error(_('FIXME: error_type %s not implemented') % error_type)