Fixed auto read

This commit is contained in:
M66B
2019-03-26 09:07:34 +00:00
parent 72a6eaced1
commit 17a6ef1a1b

View File

@@ -500,6 +500,10 @@ class Core {
if (imessage == null)
throw new MessageRemovedException();
// Auto read
if (autoread && ifolder.getPermanentFlags().contains(Flags.Flag.SEEN))
imessage.setFlag(Flags.Flag.SEEN, true);
// Get target folder
EntityFolder target = db.folder().getFolder(id);
if (target == null)