Fix multiple syncs

master
Vitaliy Filippov 2016-10-03 17:06:47 +03:00
parent ce10b586e3
commit 8e7aa3d83d
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ Syncer.prototype.runIdle = function(accountId, srv)
{
srv.on(i, srv._idleCallbacks[i]);
}
srv.openBox('INBOX', true);
srv.openBox('INBOX', true, function() {});
}
Syncer.prototype.stopIdle = function(accountId, srv)
@ -139,7 +139,7 @@ Syncer.prototype.stopIdle = function(accountId, srv)
}
}
Syncer.prototype.releaseSyncConnection = function*(accountId, boxName)
Syncer.prototype.releaseSyncConnection = function(accountId, boxName)
{
this.imap.releaseConnection(accountId, 'S');
}