some small read receipt fixes
This commit is contained in:
parent
545fdd1f6b
commit
a701bc6413
1 changed files with 16 additions and 10 deletions
|
|
@ -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 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue