1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

Mark local messages read on expanding

This commit is contained in:
M66B 2024-11-17 11:41:27 +01:00
parent 32ce2bfe54
commit e4d72b9e84

View file

@ -8233,10 +8233,11 @@ public class FragmentMessages extends FragmentBase
db.message().setMessageUiIgnored(message.id, true);
}
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
if (account.auto_seen)
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null)
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
}
else
db.message().setMessageUiSeen(message.id, true);
}
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {