reply_count from Thread did not remove deleted message when flag hideDeletedMessage is used #1975
Labels
bug
Something isn't working
needs api support
requires backend support to resolve
status:confirmed
Described issue has been reproduced by the repo maintainer
Describe the bug
On a ThreadList (message list ...), it is possible to provide props for hiding the delete message (https://getstream.io/chat/docs/sdk/react/components/core-components/virtualized_list/#hidedeletedmessages).
When we enabled this feature then the reply_count counter is still returning the number of replies and continue to count deleted messages.
To Reproduce
run the app again now with hideDeletedMessages=true on the component
We expect to see only one reply because all deleted messages are hiding
Important: The MessageList shows as well the number of reply_count and it is incorrect on the message list as well.
Expected behavior
When the hideDeletedMessages is true then we expect reply_count to avoid counting deleted messages
Screenshots
If applicable, add screenshots to help explain your problem.
Package version
Desktop (please complete the following information):
All platforms, all browsers, all OS
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: