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

Deleting an unread message does not reduce the unread_messages count #1419

Open
jhwheeler opened this issue Dec 15, 2024 · 0 comments
Open

Comments

@jhwheeler
Copy link

jhwheeler commented Dec 15, 2024

When a user sends a message, the unread_messages count for the other user in the channel increments, as expected; however, if the first user then deletes that message (with the hard_delete option) before the other user has read it, the unread messages count does not go back down, but stays incremented.

I am getting the unread messages count from channel.state.read[current_user].unread_messages. Perhaps I am looking in the wrong place?

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

1 participant