mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 10:17:18 +00:00
Gmail account specials
This commit is contained in:
parent
6c3da926d0
commit
7635493db2
1 changed files with 12 additions and 10 deletions
|
@ -226,6 +226,7 @@ public class EntityOperation {
|
|||
db.message().setMessageImportance(similar.id, null);
|
||||
}
|
||||
|
||||
if (source.account.equals(target.account)) {
|
||||
EntityAccount account = db.account().getAccount(message.account);
|
||||
if ((account != null && !account.isGmail()) ||
|
||||
!EntityFolder.ARCHIVE.equals(source.type) ||
|
||||
|
@ -237,6 +238,7 @@ public class EntityOperation {
|
|||
EntityFolder.ARCHIVE.equals(source.type) &&
|
||||
!(EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type)))
|
||||
name = COPY;
|
||||
}
|
||||
|
||||
if (message.ui_snoozed != null &&
|
||||
(EntityFolder.ARCHIVE.equals(target.type) || EntityFolder.TRASH.equals(target.type))) {
|
||||
|
|
Loading…
Reference in a new issue