[client-sync] Fix missing pass in of syncWorker in EnsureMessageInSentFolder

This commit is contained in:
Juan Tejada 2017-02-26 10:36:15 -08:00
parent 6bd6242398
commit de9484cc52

View file

@ -17,6 +17,9 @@ class FetchNewMessagesInFolderIMAP extends FetchMessagesInFolderIMAP {
this._logger.log(`🔜 📂 🆕 ${this._folder.name} - Looking for new messages`)
this._db = db;
this._imap = imap;
if (!syncWorker) {
throw new Error(`SyncWorker not passed to runTask`);
}
this._syncWorker = syncWorker;
const {syncState: {fetchedmax}} = this._folder