mirror of https://github.com/M66B/FairEmail.git
Prevent deleting trash on move
This commit is contained in:
parent
3b559f9ff2
commit
e95228ee47
|
@ -847,7 +847,7 @@ class Core {
|
|||
}
|
||||
|
||||
// Delete source
|
||||
if (!copy) {
|
||||
if (!copy && !EntityFolder.TRASH.equals(folder.type)) {
|
||||
try {
|
||||
for (Message imessage : map.keySet())
|
||||
imessage.setFlag(Flags.Flag.DELETED, true);
|
||||
|
|
Loading…
Reference in New Issue