1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 10:52:17 -05:00

[WO-588] move maxUpdateSize assignment

This commit is contained in:
Felix Hammerl 2014-10-02 18:15:32 +02:00
parent 771b03e13a
commit b02989e766

View File

@ -221,11 +221,13 @@ define(function(require) {
return;
}
credentials.imap.maxUpdateSize = config.imapUpdateBatchSize;
initClients(credentials);
});
function initClients(credentials) {
// add the maximum update batch size for imap folders to the imap configuration
credentials.imap.maxUpdateSize = config.imapUpdateBatchSize;
var pgpMailer = new PgpMailer(credentials.smtp, self._pgpbuilder);
var imapClient = new ImapClient(credentials.imap);
imapClient.onError = onConnectionError;