1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 18:59:01 +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
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();