mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
[client-sync] Fix missing pass in of syncWorker in EnsureMessageInSentFolder
This commit is contained in:
parent
6bd6242398
commit
de9484cc52
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue