1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Fixed archiving Gmail drafts

This commit is contained in:
M66B 2022-05-29 09:57:03 +02:00
parent 179ba33709
commit 89a632a51b

View file

@ -1416,7 +1416,7 @@ class Core {
// Some providers do not support the COPY operation for drafts
boolean draft = (EntityFolder.DRAFTS.equals(folder.type) || EntityFolder.DRAFTS.equals(target.type));
boolean duplicate = (copy && !account.isGmail());
boolean duplicate = (copy && !account.isGmail()) || (draft && account.isGmail());
if (draft || duplicate) {
Log.i(folder.name + " " + (duplicate ? "copy" : "move") +
" from " + folder.type + " to " + target.type);