mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 13:44:40 +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);
|
db.message().setMessageUiIgnored(message.id, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
|
|
||||||
if (account.auto_seen)
|
if (account.auto_seen)
|
||||||
|
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null)
|
||||||
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
|
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
|
||||||
}
|
else
|
||||||
|
db.message().setMessageUiSeen(message.id, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
|
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
|
||||||
|
|
Loading…
Reference in a new issue