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

Opening a channel with unread messages should show the first unread message instead jumping to the last message #843

Open
nextchamp-saqib opened this issue Apr 10, 2024 · 2 comments

Comments

@nextchamp-saqib
Copy link

No description provided.

@nikkothari22
Copy link
Member

Kinda difficult to implement, but understandable why it's needed.

We have the last visit timestamp, so maybe try to find the first message after that? Only problem is if the user has more than 20 unread messages (greater than the initial page size).

Better (possible) solution: when fetching messages, fetch from the time the user has not read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants