Prevent deleting trash on move

This commit is contained in:
M66B 2019-09-29 12:21:09 +02:00
parent 3b559f9ff2
commit e95228ee47
1 changed files with 1 additions and 1 deletions

View File

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