From 4ec52d04dcc5d664612331f8e08d7d90da990415 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Apr 2022 09:06:52 +0200 Subject: Add ability to save replay of permanent lives --- server/middlewares/validators/videos/video-live.ts | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/middlewares/validators/videos') diff --git a/server/middlewares/validators/videos/video-live.ts b/server/middlewares/validators/videos/video-live.ts index 8e52c953f..b756c0bf1 100644 --- a/server/middlewares/validators/videos/video-live.ts +++ b/server/middlewares/validators/videos/video-live.ts @@ -118,12 +118,6 @@ const videoLiveAddValidator = getCommonVideoEditAttributes().concat([ }) } - if (body.permanentLive && body.saveReplay) { - cleanUpReqFiles(req) - - return res.fail({ message: 'Cannot set this live as permanent while saving its replay' }) - } - const user = res.locals.oauth.token.User if (!await doesVideoChannelOfAccountExist(body.channelId, user, res)) return cleanUpReqFiles(req) -- cgit v1.2.3