mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 20:54:34 +00:00
Prevent orphan drafts
This commit is contained in:
parent
94a9d60d2e
commit
2139aee208
1 changed files with 1 additions and 1 deletions
|
@ -1662,7 +1662,7 @@ class Core {
|
|||
}
|
||||
|
||||
if (perform_expunge) {
|
||||
if (expunge(context, ifolder, deleted))
|
||||
if (deleted.size() == 0 || expunge(context, ifolder, deleted))
|
||||
db.message().deleteMessage(message.id);
|
||||
} else {
|
||||
if (deleted.size() > 0)
|
||||
|
|
Loading…
Reference in a new issue