mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-25 15:32:52 +00:00
Always hide on move when not Gmail
This commit is contained in:
parent
25e01cec7e
commit
d90d4f310e
1 changed files with 3 additions and 1 deletions
|
@ -208,7 +208,9 @@ public class EntityOperation {
|
|||
}
|
||||
|
||||
|
||||
if (!EntityFolder.ARCHIVE.equals(source.type) ||
|
||||
EntityAccount account = db.account().getAccount(message.account);
|
||||
if (!"imap.gmail.com".equalsIgnoreCase(account == null ? null : account.host) ||
|
||||
!EntityFolder.ARCHIVE.equals(source.type) ||
|
||||
EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type))
|
||||
db.message().setMessageUiHide(message.id, true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue