mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Prevent orphan drafts
This commit is contained in:
parent
812e930cf2
commit
b6cea4c345
1 changed files with 4 additions and 0 deletions
|
@ -2699,6 +2699,10 @@ class Core {
|
|||
|
||||
message = dup;
|
||||
process = true;
|
||||
} else {
|
||||
if (dup.uid < uid &&
|
||||
EntityFolder.DRAFTS.equals(folder.type))
|
||||
EntityOperation.queue(context, dup, EntityOperation.DELETE);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue