fmt and changelog
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
## Upcoming
|
||||
|
||||
🐞 Fixed
|
||||
|
||||
- markAllRead() now updates channel states.
|
||||
|
||||
## 3.1.1
|
||||
|
||||
✅ Added
|
||||
|
||||
@@ -1411,10 +1411,9 @@ class ClientState {
|
||||
_subscriptions
|
||||
.add(_client.on(EventType.notificationMarkRead).listen((event) {
|
||||
if (event.cid == null) {
|
||||
channels
|
||||
.forEach((key, value) {
|
||||
value.state?.unreadCount = 0;
|
||||
});
|
||||
channels.forEach((key, value) {
|
||||
value.state?.unreadCount = 0;
|
||||
});
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user