bug: unread
on ChannelPreview not updating after muting & unmuting a channel
#2306
Labels
bug
Something isn't working
status:confirmed
Described issue has been reproduced by the repo maintainer
Describe the bug
The
unread
prop on theChannelPreview
component is not updating correctly after a channel is muted and then unmuted.To Reproduce
Steps to reproduce the behavior:
channel.mute()
. I believe this is the point whereunread
gets set to 0.channel.unmute()
.unread
is still 0, despite the channel being unmuted and having unread messages.The
unread
count is correct after following these steps and refreshing the page.Expected behavior
unread
should be updated to the correct number of unread messages in a channel after the unmute action.Screenshots
If applicable, add screenshots to help explain your problem.
Package version
Desktop (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: