Skip to content

[MOD2-818] Add delete_reactions support for ban user#229

Merged
totalimmersion merged 2 commits intomasterfrom
feature/mod2-818-delete-banned-user-reactions-when-pruning-messages
Mar 27, 2026
Merged

[MOD2-818] Add delete_reactions support for ban user#229
totalimmersion merged 2 commits intomasterfrom
feature/mod2-818-delete-banned-user-reactions-when-pruning-messages

Conversation

@totalimmersion
Copy link
Copy Markdown
Contributor

Ticket

Summary

  • Adds test coverage for the new delete_reactions boolean parameter on the ban user endpoint
  • The Python SDK uses **options kwargs pattern, so delete_reactions flows through automatically without code changes
  • Backend support was added in https://github.com/GetStream/chat/pull/12495

Test plan

  • CI passes with the new test test_ban_user_with_delete_reactions
  • Test verifies that banning a user with delete_reactions=True removes their reactions from other users' messages

🤖 Generated with Claude Code

Reaction deletion happens asynchronously via a background task, so we
cannot assert on side-effects immediately. Verify the API accepts the
parameter instead.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@totalimmersion totalimmersion merged commit cb36a31 into master Mar 27, 2026
1 of 6 checks passed
@totalimmersion totalimmersion deleted the feature/mod2-818-delete-banned-user-reactions-when-pruning-messages branch March 27, 2026 09:08
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.

1 participant