mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 18:59:01 +00:00
parent
8e78172c92
commit
c6ed38bafe
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue