|
|
|
@ -204,11 +204,15 @@ public class EntityOperation {
|
|
|
|
|
if (source == null || target == null || source.id.equals(target.id))
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
if (EntityFolder.DRAFTS.equals(source.type) &&
|
|
|
|
|
EntityFolder.TRASH.equals(target.type))
|
|
|
|
|
autoread = true;
|
|
|
|
|
|
|
|
|
|
EntityLog.log(context, "Move message=" + message.id +
|
|
|
|
|
"@" + new Date(message.received) +
|
|
|
|
|
":" + message.subject +
|
|
|
|
|
" source=" + source.id + ":" + source.name + "" +
|
|
|
|
|
" target=" + target.id + ":" + target.name +
|
|
|
|
|
" source=" + source.id + ":" + source.type + ":" + source.name + "" +
|
|
|
|
|
" target=" + target.id + ":" + target.type + ":" + target.name +
|
|
|
|
|
" auto read=" + autoread + " flag=" + autounflag + " importance=" + reset_importance);
|
|
|
|
|
|
|
|
|
|
if (autoread || autounflag || reset_importance)
|
|
|
|
|