Issue
Describe your issue here
It seems like this fix #2609 is causing the read receipts count in the message footer to be off by 1. When a new message is sent, the read count is automatically incremented by 1 and the read receipt reflects this, even though the message has not been read by any other channel user besides the user that sent the message.
Steps to reproduce
Steps to reproduce the behavior:
- Enter channel
- Send message
- See readby is 1
- See read receipt count is 1
- Verify that for each user in channel, their last read timestamp is less than the time the message was created (besides the user that wrote the message)
Expected behavior
Read receipt should reflect accurate count of who read the message
Project Related Information
Customization
Click To Expand
Offline support
Environment
Click To Expand
package.json:
react-native info output:
- Platform that you're experiencing the issue on:
stream-chat-react-native version you're using that has this issue:
5.35.0+ (Any version after 5.34)
- Device/Emulator info:
- [ x] I am using a physical device
- OS version:
Android 15, iOS 18
- Device/Emulator:
iPhone 14 Pro, Google Pixel 6
Additional context
Screenshots
Click To Expand
Issue
Describe your issue here
It seems like this fix #2609 is causing the read receipts count in the message footer to be off by 1. When a new message is sent, the read count is automatically incremented by 1 and the read receipt reflects this, even though the message has not been read by any other channel user besides the user that sent the message.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Read receipt should reflect accurate count of who read the message
Project Related Information
Customization
Click To Expand
Offline support
Environment
Click To Expand
package.json:# N/Areact-native infooutput:stream-chat-react-nativeversion you're using that has this issue:5.35.0+ (Any version after 5.34)Android 15, iOS 18iPhone 14 Pro, Google Pixel 6Additional context
Screenshots
Click To Expand