Copy from Gmail archive folder

This commit is contained in:
M66B 2020-05-11 09:12:29 +02:00
parent 377b78f305
commit 24297ee704
1 changed files with 4 additions and 0 deletions

View File

@ -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;