1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

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

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();