mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Gmail: prevent copying archive to trash/junk
This commit is contained in:
parent
4ee87b3b6b
commit
0c67c8935a
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@ public class EntityOperation {
|
|||
db.message().setMessageUiHide(message.id, true);
|
||||
|
||||
if (account != null && account.isGmail() &&
|
||||
EntityFolder.ARCHIVE.equals(source.type))
|
||||
EntityFolder.ARCHIVE.equals(source.type) &&
|
||||
!(EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type)))
|
||||
name = COPY;
|
||||
|
||||
if (message.ui_snoozed != null &&
|
||||
|
|
Loading…
Reference in a new issue