From 86c5229b4d726202378ef46854383bcafca22310 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 2 May 2022 10:49:48 +0200 Subject: Save replay of permanent live in client --- server/middlewares/validators/videos/video-live.ts | 4 ---- 1 file changed, 4 deletions(-) (limited to 'server/middlewares/validators') diff --git a/server/middlewares/validators/videos/video-live.ts b/server/middlewares/validators/videos/video-live.ts index 8f821c5f9..ff492da0f 100644 --- a/server/middlewares/validators/videos/video-live.ts +++ b/server/middlewares/validators/videos/video-live.ts @@ -170,10 +170,6 @@ const videoLiveUpdateValidator = [ const body: LiveVideoUpdate = req.body - if (body.permanentLive && body.saveReplay) { - return res.fail({ message: 'Cannot set this live as permanent while saving its replay' }) - } - if (hasValidSaveReplay(body) !== true) { return res.fail({ status: HttpStatusCode.FORBIDDEN_403, -- cgit v1.2.3