From cd06c49b928e99edb5402973d7911ce6916013a7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 12 May 2026 14:44:53 +0200 Subject: [PATCH] fix: Prepare backport of future PR Signed-off-by: Joas Schilling --- lib/Controller/RoomController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index feea7599178..744dfbfb4d8 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -455,10 +455,10 @@ public function getSingleRoom(string $token): DataResponse { try { $participant = $this->participantService->getParticipant($room, $this->userId, $sessionId); - } catch (ParticipantNotFoundException $e) { + } catch (ParticipantNotFoundException) { try { $participant = $this->participantService->getParticipantBySession($room, $sessionId); - } catch (ParticipantNotFoundException $e) { + } catch (ParticipantNotFoundException) { } } } else {