Always keep local drafts

Encrypted messages are not added to the remote folder
This commit is contained in:
M66B 2019-11-08 18:06:23 +01:00
parent 33b91b05e7
commit 8e7903e07b
1 changed files with 2 additions and 1 deletions

View File

@ -1883,7 +1883,8 @@ class Core {
}
} else {
// Delete not synchronized messages without uid
db.message().deleteOrphans(folder.id);
if (!EntityFolder.DRAFTS.equals(folder.type))
db.message().deleteOrphans(folder.id);
}
int count = ifolder.getMessageCount();