mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 03:56:33 +08:00
[local-sync] Make sure we're saving sent messages with 'SEEN' flag
Summary: We did this for gmail, but not for other providers. Test Plan: tested locally Reviewers: juan, spang Reviewed By: spang Differential Revision: https://phab.nylas.com/D3665
This commit is contained in:
parent
ffbdfb7fd2
commit
b40ff948ca
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ const TaskHelpers = {
|
|||
if (!sentFolder) { throw new APIError('Could not save message to sent folder.') }
|
||||
|
||||
const box = await imap.openBox(sentFolder.name);
|
||||
return box.append(rawMime);
|
||||
return box.append(rawMime, {flags: 'SEEN'});
|
||||
}
|
||||
|
||||
// Gmail, we need to add the message to all mail and add the sent label
|
||||
|
|
Loading…
Reference in a new issue