diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 443ad889fd..79f0098d0f 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -990,10 +990,8 @@ class Core { // Delete source if (!copy) { try { - for (Message imessage : map.keySet()) { - db.message().deleteMessage(map.get(imessage).id); + for (Message imessage : map.keySet()) imessage.setFlag(Flags.Flag.DELETED, true); - } } catch (MessageRemovedException ignored) { } ifolder.expunge();