some small read receipt fixes

This commit is contained in:
Henry Hiles 2026-11-05 23:33:04 -05:00
commit a701bc6413
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -150,10 +150,10 @@ final class ChatScroll({
await paginate(.backward);
} else if (isHistorical && position.extentBefore <= loadThreshold) {
await paginate(.forward);
} else if (position.extentBefore <= 0) {
await markRead();
}
if (!isHistorical && position.extentBefore <= 0) await markRead();
if (controllerData.isLoading == false &&
position.extentBefore <= 0 &&
controllerData.value?.hasMoreForward == false &&