From b02989e7663c8ebb3a339d1164273787e9b5978c Mon Sep 17 00:00:00 2001 From: Felix Hammerl Date: Thu, 2 Oct 2014 18:15:32 +0200 Subject: [PATCH] [WO-588] move maxUpdateSize assignment --- src/js/app-controller.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/app-controller.js b/src/js/app-controller.js index b629381..ba358e0 100644 --- a/src/js/app-controller.js +++ b/src/js/app-controller.js @@ -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;