diff --git a/app/src/main/java/eu/faircode/email/EntityOperation.java b/app/src/main/java/eu/faircode/email/EntityOperation.java index 529f82ed5d..413f7af669 100644 --- a/app/src/main/java/eu/faircode/email/EntityOperation.java +++ b/app/src/main/java/eu/faircode/email/EntityOperation.java @@ -194,6 +194,10 @@ public class EntityOperation { EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type)) db.message().setMessageUiHide(message.id, true); + if (account != null && account.isGmail() && + EntityFolder.ARCHIVE.equals(source.type)) + name = COPY; + if (message.ui_snoozed != null && (EntityFolder.ARCHIVE.equals(target.type) || EntityFolder.TRASH.equals(target.type))) { message.ui_snoozed = null;