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