mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 13:21:02 +00:00
Simplification
This commit is contained in:
parent
766710eade
commit
43fc86ff6b
1 changed files with 1 additions and 3 deletions
|
@ -1680,10 +1680,8 @@ class Core {
|
||||||
if (deleted.size() == 0 || expunge(context, ifolder, deleted))
|
if (deleted.size() == 0 || expunge(context, ifolder, deleted))
|
||||||
db.message().deleteMessage(message.id);
|
db.message().deleteMessage(message.id);
|
||||||
} else {
|
} else {
|
||||||
if (deleted.size() > 0) {
|
if (deleted.size() > 0)
|
||||||
db.message().setMessageDeleted(message.id, message.ui_deleted);
|
db.message().setMessageDeleted(message.id, message.ui_deleted);
|
||||||
db.message().setMessageUiIgnored(message.id, message.ui_deleted);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in a new issue