Open kennyvallejodev opened 5 months ago
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 ofTo 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.