fix formatting
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
- [[#890]](https://github.com/GetStream/stream-chat-flutter/pull/890) Fixed Reactions not updating on thread messages.
|
||||
Thanks [bstolinski](https://github.com/bstolinski).
|
||||
- [[#897]](https://github.com/GetStream/stream-chat-flutter/issues/897) Fixed error type mis-match in `AuthInterceptor`.
|
||||
- [[#891]](https://github.com/GetStream/stream-chat-flutter/pull/891). Fixed reply counter for parent message not
|
||||
- [[#891]](https://github.com/GetStream/stream-chat-flutter/pull/891) Fixed reply counter for parent message not
|
||||
updating correctly after deleting thread message.
|
||||
|
||||
## 3.4.0
|
||||
|
||||
@@ -1833,8 +1833,7 @@ class ChannelClientState {
|
||||
final newThreads = Map<String, List<Message>>.from(threads);
|
||||
|
||||
newThreads[parentId] = [
|
||||
...newThreads[parentId]!
|
||||
..removeWhere((e) => e.id == message.id),
|
||||
...newThreads[parentId]!..removeWhere((e) => e.id == message.id),
|
||||
];
|
||||
|
||||
_threads = newThreads;
|
||||
|
||||
Reference in New Issue
Block a user