mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-29 07:55:55 +08:00
fix(db): don't exclude message bodies in deltas for drafts
This commit is contained in:
parent
781080716c
commit
35f1a14833
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ export default class DatabaseChangeRecord {
|
|||
*/
|
||||
if (options.objectClass === "Message") {
|
||||
this._objects = this._objects.map((o) => {
|
||||
o.body = null;
|
||||
if (!o.draft) {
|
||||
o.body = null;
|
||||
}
|
||||
return o;
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue