[local-sync] fix cleanup of sent messages

This commit is contained in:
Evan Morikawa 2017-02-01 06:24:03 -08:00
parent 47f1f440d7
commit 04ff46eb04

View file

@ -96,6 +96,7 @@ class SyncWorker {
const noFolderImapUID = await Message.findAll({
where: {
folderImapUID: null,
isProcessed: true,
},
})
const affectedThreadIds = new Set();