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

Prevent orphan drafts

This commit is contained in:
M66B 2020-12-05 10:06:42 +01:00
parent 812e930cf2
commit b6cea4c345

View file

@ -2699,6 +2699,10 @@ class Core {
message = dup; message = dup;
process = true; process = true;
} else {
if (dup.uid < uid &&
EntityFolder.DRAFTS.equals(folder.type))
EntityOperation.queue(context, dup, EntityOperation.DELETE);
} }
} }