From 4dabcef1e9948ef143b46daa1ff625d44de7ab11 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 17 Nov 2024 17:44:00 +0100 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 2368c7db17..a8cd7c0227 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -8237,8 +8237,10 @@ public class FragmentMessages extends FragmentBase if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) EntityOperation.queue(context, message, EntityOperation.SEEN, true); else - for (EntityMessage similar : db.message().getMessagesBySimilarity(message.account, message.id, message.msgid, message.hash)) + for (EntityMessage similar : db.message().getMessagesBySimilarity(message.account, message.id, message.msgid, message.hash)) { + db.message().setMessageSeen(similar.id, true); db.message().setMessageUiSeen(similar.id, true); + } } if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {