1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-23 01:12:19 -05:00

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

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