fmt and changelog

This commit is contained in:
Deven Joshi
2021-10-08 17:43:31 +05:30
parent fb6e1e8977
commit 19c0491b9d
2 changed files with 9 additions and 4 deletions
+6
View File
@@ -1,3 +1,9 @@
## Upcoming
🐞 Fixed
- markAllRead() now updates channel states.
## 3.1.1 ## 3.1.1
✅ Added ✅ Added
@@ -1411,10 +1411,9 @@ class ClientState {
_subscriptions _subscriptions
.add(_client.on(EventType.notificationMarkRead).listen((event) { .add(_client.on(EventType.notificationMarkRead).listen((event) {
if (event.cid == null) { if (event.cid == null) {
channels channels.forEach((key, value) {
.forEach((key, value) { value.state?.unreadCount = 0;
value.state?.unreadCount = 0; });
});
} }
})); }));
} }