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:
parent
32ce2bfe54
commit
e4d72b9e84
1 changed files with 4 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue