diff --git a/lib/Federation/Proxy/TalkV1/Controller/CallController.php b/lib/Federation/Proxy/TalkV1/Controller/CallController.php index f4c3903f43a..a2fee70ce42 100644 --- a/lib/Federation/Proxy/TalkV1/Controller/CallController.php +++ b/lib/Federation/Proxy/TalkV1/Controller/CallController.php @@ -103,7 +103,7 @@ public function joinFederatedCall(Room $room, Participant $participant, int $fla if ($statusCode === Http::STATUS_BAD_REQUEST) { /** @var array{error: string} $data */ - $data = $this->proxy->getOCSData($proxy); + $data = $this->proxy->getOCSData($proxy, [Http::STATUS_BAD_REQUEST]); return new DataResponse($data, $statusCode); } @@ -136,7 +136,7 @@ public function ringAttendee(Room $room, Participant $participant, int $attendee if ($statusCode === Http::STATUS_BAD_REQUEST) { /** @var array{error: string} $data */ - $data = $this->proxy->getOCSData($proxy); + $data = $this->proxy->getOCSData($proxy, [Http::STATUS_BAD_REQUEST]); return new DataResponse($data, $statusCode); }