From 43fc86ff6b890ad8dfeb7d422bdba3eba0137668 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 13 Jan 2022 14:37:58 +0100 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/Core.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 0034ce2a0b..3b74321436 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1680,10 +1680,8 @@ class Core { if (deleted.size() == 0 || expunge(context, ifolder, deleted)) db.message().deleteMessage(message.id); } else { - if (deleted.size() > 0) { + if (deleted.size() > 0) db.message().setMessageDeleted(message.id, message.ui_deleted); - db.message().setMessageUiIgnored(message.id, message.ui_deleted); - } } } finally {