UI seen on auto read

pull/162/head
M66B 6 years ago
parent ebac63f54d
commit 8b699395ab

@ -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…
Cancel
Save