diff options
author | Vitor Mattos <vitor@php.rio> | 2022-12-12 15:42:35 -0300 |
---|---|---|
committer | Vitor Mattos <vitor@php.rio> | 2022-12-12 15:42:35 -0300 |
commit | 1c3d218845a9a2d35dc695bb2491ec27a06e40f0 (patch) | |
tree | 5b80064796fa0bd27eab314d66b3af31765496cb /lib/Controller/RecordingController.php | |
parent | 8fd052b1023aa0581fe91e87c93413481e0978a0 (diff) |
Moved the logic to check if recording is enabled to service methods
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'lib/Controller/RecordingController.php')
-rw-r--r-- | lib/Controller/RecordingController.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Controller/RecordingController.php b/lib/Controller/RecordingController.php index c361863e6..cacf6e9c5 100644 --- a/lib/Controller/RecordingController.php +++ b/lib/Controller/RecordingController.php @@ -44,7 +44,6 @@ class RecordingController extends AEnvironmentAwareController { * @PublicPage * @RequireCallEnabled * @RequireModeratorParticipant - * @RequireCallRecording */ public function startRecording(int $status): DataResponse { if (!$this->roomService->startRecording($this->room, $status)) { @@ -57,7 +56,6 @@ class RecordingController extends AEnvironmentAwareController { * @PublicPage * @RequireCallEnabled * @RequireModeratorParticipant - * @RequireCallRecording */ public function stopRecording(): DataResponse { $this->roomService->stopRecording($this->room); |