mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-22 07:42:52 +00:00
Small improvement
This commit is contained in:
parent
81f875f620
commit
4dabcef1e9
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue