mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 23:32:51 +00:00
Mark similar local messages read
This commit is contained in:
parent
4ed2c30de9
commit
7f92484b27
1 changed files with 2 additions and 1 deletions
|
@ -8237,7 +8237,8 @@ public class FragmentMessages extends FragmentBase
|
|||
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null)
|
||||
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
|
||||
else
|
||||
db.message().setMessageUiSeen(message.id, true);
|
||||
for (EntityMessage similar : db.message().getMessagesBySimilarity(message.account, message.id, message.msgid, message.hash))
|
||||
db.message().setMessageUiSeen(similar.id, true);
|
||||
}
|
||||
|
||||
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
|
||||
|
|
Loading…
Reference in a new issue