After I leave channel and open it again, channel query request return incorrect read property, so some of already read messages considered unread again
Here is the logs before and after leaving a channel.
My user id is 395132.
You can see that before leaving a channel last_read is "2024-10-01T08:28:14.674666Z"
And after leaving channel it becomes "2024-09-30T15:02:23.119529Z"
1. Query channel data
2. Leave channel
3. Query channel data again
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
[!] Flutter (Channel stable, 3.19.6, on macOS 14.1.2 23B92 darwin-arm64 (Rosetta), locale en-RU)
• Flutter version 3.19.6 on channel stable at /Users/vladislavShturma/fvm/3.19.6
! Warning: `dart` on your path resolves to /usr/local/Cellar/dart/2.18.2/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/vladislavShturma/fvm/3.19.6. Consider adding /Users/vladislavShturma/fvm/3.19.6/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 54e66469a9 (6 months ago), 2024-04-17 13:08:03 -0700
• Engine revision c4cd48e186
• Dart version 3.3.4
• DevTools version 2.31.1
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/vladislavShturma/Library/Android/sdk/
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/vladislavShturma/Library/Android/sdk/
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15A507
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
[✓] IntelliJ IDEA Community Edition (version 2021.3.1)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin version 213.5744.122
[✓] VS Code (version 1.90.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.96.0
[✓] Connected device (4 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 12 (API 31) (emulator)
• iPhone (Алина) (mobile) • 00008030-00162DE60E87802E • ios • iOS 17.6.1 21G93
• macOS (desktop) • macos • darwin-arm64 • macOS 14.1.2 23B92 darwin-arm64 (Rosetta)
• Chrome (web) • chrome • web-javascript • Google Chrome 129.0.6668.70
! Error: Browsing on the local area network for Vlad’s iPhone. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Which packages are you using?
stream_chat_flutter_core
On what platforms did you experience the issue?
Android
What version are you using?
stream_chat_flutter_core - 6.7.0
What happened?
After I leave channel and open it again, channel query request return incorrect
read
property, so some of already read messages considered unread againHere is the logs before and after leaving a channel. My user id is
395132
. You can see that before leaving a channellast_read
is"2024-10-01T08:28:14.674666Z"
And after leaving channel it becomes"2024-09-30T15:02:23.119529Z"
query channel as member.txt query channel not as member.txt
Steps to reproduce
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
Code of Conduct