Merge pull request #877 from GetStream/fix/748
fix(llc): include `message.user` while saving users in persistence.
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
## Upcoming
|
## Upcoming
|
||||||
|
|
||||||
|
🐞 Fixed
|
||||||
|
|
||||||
|
- [[#748]](https://github.com/GetStream/stream-chat-flutter/issues/748) `Message.user` are now also included while saving users in persistence.
|
||||||
|
|
||||||
🔄 Changed
|
🔄 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.
|
- `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([
|
users.addAll([
|
||||||
channel.createdBy,
|
channel.createdBy,
|
||||||
|
...messages.map((it) => it.user),
|
||||||
...reads.map((it) => it.user),
|
...reads.map((it) => it.user),
|
||||||
...members.map((it) => it.user),
|
...members.map((it) => it.user),
|
||||||
...reactions.map((it) => it.user),
|
...reactions.map((it) => it.user),
|
||||||
|
|||||||
Reference in New Issue
Block a user