mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
Fixed marking collapsed messages automatically as seen
This commit is contained in:
parent
cf674de8d7
commit
95f5b22778
1 changed files with 3 additions and 2 deletions
|
@ -8089,13 +8089,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|||
same = false;
|
||||
log("uid changed", next.id);
|
||||
|
||||
if (prev.uid == null && next.uid != null) { // once only
|
||||
if (prev.uid == null && next.uid != null && // once only
|
||||
properties.getValue("expanded", next.id)) {
|
||||
// Mark seen when needed
|
||||
if (!Boolean.TRUE.equals(next.ui_seen) && next.accountAutoSeen)
|
||||
EntityOperation.queue(context, next, EntityOperation.SEEN, true);
|
||||
|
||||
// Download body when needed
|
||||
if (!next.content && properties.getValue("expanded", next.id))
|
||||
if (!next.content)
|
||||
EntityOperation.queue(context, next, EntityOperation.BODY);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue