Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: when using arrow to bottom fetch from newest #22860

Merged
merged 1 commit into from Jul 28, 2023

Conversation

jjaffeux
Copy link
Contributor

@jjaffeux jjaffeux commented Jul 28, 2023

We were attempting to fetch from last read but this is actually complicated to get right when you have a lot unread, as we might still have more to load after this but the last unread id is still the same and would make the user end up in a loop.

We have already a test for this, but the previous state changed in this commit was not correctly tested.

We were attempting to fetch from last read but this is actually complicated to get right when you have a lot unread, as we might still have more to load after this but the last unread id is still the same and would make the user end up in a loop.
@github-actions github-actions bot added the chat PRs which include a change to Chat plugin label Jul 28, 2023
@jjaffeux jjaffeux merged commit 891aabd into discourse:main Jul 28, 2023
12 of 13 checks passed
@jjaffeux jjaffeux deleted the chat/always-scroll-from-newest branch July 28, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat PRs which include a change to Chat plugin
2 participants