mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Skip marking local messages as read
This commit is contained in:
parent
b93ead3b42
commit
e0826e65eb
1 changed files with 1 additions and 1 deletions
|
@ -8236,7 +8236,7 @@ public class FragmentMessages extends FragmentBase
|
||||||
if (account.auto_seen)
|
if (account.auto_seen)
|
||||||
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 if (false)
|
||||||
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().setMessageSeen(similar.id, true);
|
||||||
db.message().setMessageUiSeen(similar.id, true);
|
db.message().setMessageUiSeen(similar.id, true);
|
||||||
|
|
Loading…
Reference in a new issue