mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Log moves
This commit is contained in:
parent
6d6b796adc
commit
eedfaeeb28
1 changed files with 5 additions and 0 deletions
|
@ -131,6 +131,11 @@ public class EntityOperation {
|
|||
if (source.id.equals(target.id))
|
||||
return;
|
||||
|
||||
EntityLog.log(context, "Move message=" + message.id + ":" + message.subject +
|
||||
" source=" + source.id + ":" + source.name + "" +
|
||||
" target=" + target.id + ":" + target.name +
|
||||
" autoread=" + autoread);
|
||||
|
||||
if (!EntityFolder.ARCHIVE.equals(source.type) ||
|
||||
EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type))
|
||||
db.message().setMessageUiHide(message.id, new Date().getTime());
|
||||
|
|
Loading…
Reference in a new issue