Skip to content

Comments

feat: add blockedUsers state to StreamChat class#1691

Merged
MartinCupela merged 3 commits intomasterfrom
feat/add-blockedUsers-to-client
Feb 19, 2026
Merged

feat: add blockedUsers state to StreamChat class#1691
MartinCupela merged 3 commits intomasterfrom
feat/add-blockedUsers-to-client

Conversation

@MartinCupela
Copy link
Contributor

@MartinCupela MartinCupela commented Feb 19, 2026

Description

Currently the LLC does not track blocked users as it tracks muted users. Blocked user ids are announced with the WS connection event / message - same as muted users.

The StreamChat.blockedUsers local state is updated with the following API calls if StreamChat._cacheEnabled() === true

  • blockUser
  • getBlockedUsers
  • unBlockUser

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2026

Size Change: 0 B

Total Size: 365 kB

ℹ️ View Unchanged
Filename Size
dist/cjs/index.browser.js 121 kB
dist/cjs/index.node.js 123 kB
dist/esm/index.mjs 121 kB

compressed-size-action

@MartinCupela MartinCupela reopened this Feb 19, 2026
@MartinCupela MartinCupela deleted the feat/add-blockedUsers-to-client branch February 19, 2026 11:29
@MartinCupela MartinCupela restored the feat/add-blockedUsers-to-client branch February 19, 2026 11:29
@MartinCupela MartinCupela reopened this Feb 19, 2026
@MartinCupela MartinCupela merged commit 2370fd8 into master Feb 19, 2026
9 of 12 checks passed
@MartinCupela MartinCupela deleted the feat/add-blockedUsers-to-client branch February 19, 2026 11:30
github-actions bot pushed a commit that referenced this pull request Feb 19, 2026
## [9.35.0](v9.34.0...v9.35.0) (2026-02-19)

### Features

* add blockedUsers state to StreamChat class ([#1691](#1691)) ([2370fd8](2370fd8))
@stream-ci-bot
Copy link

🎉 This PR is included in version 9.35.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants