mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-28 00:20:50 +01:00
UI seen on auto read
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user