fix imap timeout (again) to continue with login callback

This commit is contained in:
Tankred Hase 2014-02-02 16:10:51 +01:00
parent bb76252db7
commit d37b9ca5e3
1 changed files with 1 additions and 8 deletions

View File

@ -120,14 +120,7 @@ define(function(require) {
console.log('IMAP error.', err);
console.log('IMAP reconnecting...');
// re-init client modules on error
self.onConnect(function(err) {
if (err) {
console.error('IMAP reconnect failed!', err);
return;
}
console.log('IMAP reconnect successful.');
});
self.onConnect(callback);
};
// connect to clients