Merge pull request #780 from GetStream/fix/indicator
fix(llc): unread indicator
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
🐞 Fixed
|
||||
|
||||
- `closeConnection()` now uses `normalClosure` status when closing websocket.
|
||||
- Fixed local unread count indicator increasing for thread replies
|
||||
|
||||
## 3.2.0
|
||||
|
||||
|
||||
@@ -1860,10 +1860,13 @@ class ChannelClientState {
|
||||
(m) => m.user.id == message.user?.id,
|
||||
) !=
|
||||
null;
|
||||
final isThreadMessage = message.parentId != null;
|
||||
|
||||
return !message.silent &&
|
||||
!message.shadowed &&
|
||||
message.user?.id != userId &&
|
||||
!userIsMuted;
|
||||
!userIsMuted &&
|
||||
!isThreadMessage;
|
||||
}
|
||||
|
||||
/// Update threads with updated information about messages.
|
||||
|
||||
Reference in New Issue
Block a user