Skip to content

Commit d8db9f1

Browse files
feat: add delete_reactions support for ban user (#167)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b2b48ed commit d8db9f1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/integration/IntegrationTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,14 @@ public function testBanUser()
443443
$this->client->banUser($this->user1["id"], ["user_id" => $this->user2["id"]]);
444444
}
445445

446+
public function testBanUserWithDeleteReactions()
447+
{
448+
$this->client->banUser($this->user1["id"], [
449+
"user_id" => $this->user2["id"],
450+
"delete_reactions" => true,
451+
]);
452+
}
453+
446454
public function testUnBanUser()
447455
{
448456
$this->client->banUser($this->user1["id"], ["user_id" => $this->user2["id"]]);

0 commit comments

Comments
 (0)