Merge pull request #877 from GetStream/fix/748

fix(llc): include `message.user` while saving users in persistence.
This commit is contained in:
Salvatore Giordano
2022-01-31 14:50:25 +01:00
committed by GitHub
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
## Upcoming
🐞 Fixed
- [[#748]](https://github.com/GetStream/stream-chat-flutter/issues/748) `Message.user` are now also included while saving users in persistence.
🔄 Changed
- `client.location` is now deprecated in favor of the new [edge server](https://getstream.io/blog/chat-edge-infrastructure) and will be removed in v4.0.0.
@@ -253,6 +253,7 @@ abstract class ChatPersistenceClient {
users.addAll([
channel.createdBy,
...messages.map((it) => it.user),
...reads.map((it) => it.user),
...members.map((it) => it.user),
...reactions.map((it) => it.user),