1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-02 12:33:43 +00:00

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)