mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Fixed archiving Gmail drafts
This commit is contained in:
parent
179ba33709
commit
89a632a51b
1 changed files with 1 additions and 1 deletions
|
@ -1416,7 +1416,7 @@ class Core {
|
||||||
|
|
||||||
// Some providers do not support the COPY operation for drafts
|
// Some providers do not support the COPY operation for drafts
|
||||||
boolean draft = (EntityFolder.DRAFTS.equals(folder.type) || EntityFolder.DRAFTS.equals(target.type));
|
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) {
|
if (draft || duplicate) {
|
||||||
Log.i(folder.name + " " + (duplicate ? "copy" : "move") +
|
Log.i(folder.name + " " + (duplicate ? "copy" : "move") +
|
||||||
" from " + folder.type + " to " + target.type);
|
" from " + folder.type + " to " + target.type);
|
||||||
|
|
Loading…
Reference in a new issue