mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 03:05:31 +00:00
parent
8e78172c92
commit
c6ed38bafe
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue