Added auto seen option for POP3 accounts

This commit is contained in:
M66B
2020-08-14 18:36:09 +02:00
parent e0da326bcb
commit 765a17b5f5
4 changed files with 29 additions and 13 deletions

View File

@@ -3430,9 +3430,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean expanded = !properties.getValue("expanded", message.id);
// Prevent flicker
if (expanded &&
(message.accountProtocol != EntityAccount.TYPE_IMAP ||
(message.accountAutoSeen && !message.folderReadOnly))) {
if (expanded && message.accountAutoSeen && !message.folderReadOnly) {
message.unseen = 0;
message.ui_seen = true;
message.visible_unseen = 0;