mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Small improvement
This commit is contained in:
parent
81f875f620
commit
4dabcef1e9
1 changed files with 3 additions and 1 deletions
|
@ -8237,9 +8237,11 @@ public class FragmentMessages extends FragmentBase
|
||||||
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null)
|
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null)
|
||||||
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
|
EntityOperation.queue(context, message, EntityOperation.SEEN, true);
|
||||||
else
|
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);
|
db.message().setMessageUiSeen(similar.id, true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
|
if (account.protocol != EntityAccount.TYPE_IMAP || message.uid != null) {
|
||||||
if (!message.content)
|
if (!message.content)
|
||||||
|
|
Loading…
Reference in a new issue