mirror of https://github.com/M66B/FairEmail.git
UI seen on auto read
This commit is contained in:
parent
ebac63f54d
commit
8b699395ab
|
@ -139,6 +139,9 @@ public class EntityOperation {
|
||||||
" target=" + target.id + ":" + target.name +
|
" target=" + target.id + ":" + target.name +
|
||||||
" autoread=" + autoread);
|
" autoread=" + autoread);
|
||||||
|
|
||||||
|
if (autoread)
|
||||||
|
db.message().setMessageUiSeen(message.id, true);
|
||||||
|
|
||||||
if (!EntityFolder.ARCHIVE.equals(source.type) ||
|
if (!EntityFolder.ARCHIVE.equals(source.type) ||
|
||||||
EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type))
|
EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type))
|
||||||
db.message().setMessageUiHide(message.id, new Date().getTime());
|
db.message().setMessageUiHide(message.id, new Date().getTime());
|
||||||
|
|
Loading…
Reference in New Issue