-
Notifications
You must be signed in to change notification settings - Fork 76
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
bug: thread unread count persist even after a channel has been disabled #1322
Comments
Hello @kennyvallejodev could you specify how do you "disable" the channel? |
in our backend doing a partial update channel.updatePartial({ set: { disabled: true } }), |
@MartinCupela do you have an update or were able to repro it? Dunno if i should post this issue in here or in the core stream-chat repo. Right now this issue is kinda blocking a feature that i'm working on. |
Any update here? |
Hey @kennyvallejodev this feature is not yet supported by the SDK. I am passing the issue to stream-chat-js repo. @vishalnarkhede could you please take a look at this request? |
can someone.... reply? at least mark the issue as confirmed lol? has been almost a month |
Hi @kennyvallejodev, Sorry it took longer to reply. I couldn't reproduce the problem when deleting a channel, the unread count updates correctly in that case as far as I can see. However, I can confirm that there's a bug when marking a channel as disabled. Threads in a disabled channel still count as unread, which is unexpected behavior. I have forwarded this information to the backend team. We'll keep this issue open and update you on progress. Thanks for your report! |
Describe the bug
A clear and concise description of what the bug is.
thread_unread_count
thread_unread_count
is still theremark it as read
so you ended up pretty much with a perma unread that you cannot get rid of
To Reproduce
Steps to reproduce the behavior:
Expected behavior
for the threads_unread_count definitely it should omit the channels that are disabled/deleted
same for
client.queryThreads
this will fetch messages from channels that are disabled (or even parent messages that are deleted lol)
Screenshots
If applicable, add screenshots to help explain your problem.
Package version
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: