1
0
Fork 0
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:
M66B 2024-11-17 16:15:02 +01:00
parent 4ed2c30de9
commit 7f92484b27

View file

@ -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) {