Skip to content

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

Merged
totalimmersion merged 1 commit intomainfrom
feature/mod2-818-delete-banned-user-reactions-when-pruning-messages
Mar 26, 2026
Merged

[MOD2-818] Add delete_reactions support for ban user#248
totalimmersion merged 1 commit intomainfrom
feature/mod2-818-delete-banned-user-reactions-when-pruning-messages

Conversation

@totalimmersion
Copy link
Contributor

Ticket

Summary

Adds deleteReactions boolean field to UserBanRequestData and Moderation.BanRequestData for the ban API. When set to true, the backend deletes all reactions by the banned user on other users' messages.

This corresponds to the backend change in https://github.com/GetStream/chat/pull/12495.

Changes

  • User.UserBanRequestData: added delete_reactions field
  • Moderation.BanRequestData: added delete_reactions field
  • UserTest: added test for banning a user with deleteReactions(true)

Checklist

  • The changed code has been covered with unit tests
  • API endpoints are covered with client tests

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@totalimmersion totalimmersion merged commit 5d80e94 into main Mar 26, 2026
0 of 2 checks passed
@totalimmersion totalimmersion deleted the feature/mod2-818-delete-banned-user-reactions-when-pruning-messages branch March 26, 2026 14:26
@github-actions github-actions bot mentioned this pull request Mar 26, 2026
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