Revert "Delete local message on move"

This reverts commit 9a1c5ca083.
pull/184/head
M66B 5 years ago
parent 8e78172c92
commit c6ed38bafe

@ -990,10 +990,8 @@ class Core {
// Delete source // Delete source
if (!copy) { if (!copy) {
try { try {
for (Message imessage : map.keySet()) { for (Message imessage : map.keySet())
db.message().deleteMessage(map.get(imessage).id);
imessage.setFlag(Flags.Flag.DELETED, true); imessage.setFlag(Flags.Flag.DELETED, true);
}
} catch (MessageRemovedException ignored) { } catch (MessageRemovedException ignored) {
} }
ifolder.expunge(); ifolder.expunge();

Loading…
Cancel
Save