1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 03:05:31 +00:00

Revert "Delete local message on move"

This reverts commit 9a1c5ca083.
This commit is contained in:
M66B 2020-07-16 19:42:17 +02:00
parent 8e78172c92
commit c6ed38bafe

View file

@ -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();