mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Mark trashed drafts read
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user