mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
UI seen on auto read
This commit is contained in:
parent
ebac63f54d
commit
8b699395ab
1 changed files with 3 additions and 0 deletions
|
@ -139,6 +139,9 @@ public class EntityOperation {
|
|||
" target=" + target.id + ":" + target.name +
|
||||
" autoread=" + autoread);
|
||||
|
||||
if (autoread)
|
||||
db.message().setMessageUiSeen(message.id, true);
|
||||
|
||||
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