Prevent deleting trash on move

pull/162/head
M66B 5 years ago
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…
Cancel
Save