Skip to content

Conversation

@arnautov-anton
Copy link
Contributor

@arnautov-anton arnautov-anton commented Nov 25, 2024

Description of the changes, What, Why and How?

Fixes: GetStream/stream-chat-react#2538

If the channel has been already established and exists within cache, hydrating channel members from thread response which was queried with limited amount of members (or zero even) will results in members property override, deleting previously known members.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 25, 2024

Size Change: 0 B

Total Size: 458 kB

ℹ️ View Unchanged
Filename Size
dist/browser.es.js 99.9 kB
dist/browser.full-bundle.min.js 56.6 kB
dist/browser.js 101 kB
dist/index.es.js 99.9 kB
dist/index.js 101 kB

compressed-size-action

@arnautov-anton arnautov-anton changed the title Adjust _hydrateMembers method to merge objects instead of overriding fix: make _hydrateMembers merge objects instead of overriding them Nov 25, 2024
@arnautov-anton arnautov-anton force-pushed the fix/channel-members-hydration branch from 04c0406 to 655987d Compare November 25, 2024 19:16
@arnautov-anton arnautov-anton marked this pull request as draft November 26, 2024 10:15
@arnautov-anton arnautov-anton marked this pull request as ready for review November 26, 2024 11:02
@arnautov-anton arnautov-anton force-pushed the fix/channel-members-hydration branch from 72762d4 to 4d1b395 Compare November 26, 2024 11:04
@arnautov-anton arnautov-anton merged commit 6a51159 into master Nov 28, 2024
1 of 5 checks passed
@arnautov-anton arnautov-anton deleted the fix/channel-members-hydration branch November 28, 2024 14:52
@github-actions github-actions bot mentioned this pull request Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Lost Member in channel after open Thread

3 participants