1
0
Fork 0
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:
M66B 2021-08-17 20:29:40 +02:00
parent 6c3da926d0
commit 7635493db2

View file

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