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:
parent
771b03e13a
commit
b02989e766
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user