|
|
@ -7789,12 +7789,16 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
same = false;
|
|
|
|
same = false;
|
|
|
|
log("uid changed", next.id);
|
|
|
|
log("uid changed", next.id);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (prev.uid == null && next.uid != null) { // once only
|
|
|
|
|
|
|
|
// Mark seen when needed
|
|
|
|
|
|
|
|
if (!Boolean.TRUE.equals(next.ui_seen) && next.accountAutoSeen)
|
|
|
|
|
|
|
|
EntityOperation.queue(context, next, EntityOperation.SEEN, true);
|
|
|
|
|
|
|
|
|
|
|
|
// Download body when needed
|
|
|
|
// Download body when needed
|
|
|
|
if (!next.content &&
|
|
|
|
if (!next.content && properties.getValue("expanded", next.id))
|
|
|
|
prev.uid == null && next.uid != null && // once only
|
|
|
|
|
|
|
|
properties.getValue("expanded", next.id))
|
|
|
|
|
|
|
|
EntityOperation.queue(context, next, EntityOperation.BODY);
|
|
|
|
EntityOperation.queue(context, next, EntityOperation.BODY);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
if (!Objects.equals(prev.msgid, next.msgid)) {
|
|
|
|
if (!Objects.equals(prev.msgid, next.msgid)) {
|
|
|
|
// debug info
|
|
|
|
// debug info
|
|
|
|
same = false;
|
|
|
|
same = false;
|
|
|
|