1
0
Fork 0
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:
M66B 2019-09-17 11:08:17 +02:00
parent ebac63f54d
commit 8b699395ab

View file

@ -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());