From 05a60d85997c108d39bcfb14f1ffd4c74f8b1e93 Mon Sep 17 00:00:00 2001 From: Wicklow <123956049+wickloww@users.noreply.github.com> Date: Fri, 31 Mar 2023 07:12:21 +0000 Subject: Feature/Add replay privacy (#5692) * Add replay settings feature * Fix replay settings behaviour * Fix tests * Fix tests * Fix tests * Update openapi doc and fix tests * Add tests and fix code * Models correction * Add migration and update controller and middleware * Add check params tests * Fix video live middleware * Updated code based on review comments --- server/tests/api/notifications/user-notifications.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests/api/notifications/user-notifications.ts') diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index f945cb6a8..7a8a234c2 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts @@ -342,6 +342,7 @@ describe('Test user notifications', function () { privacy: VideoPrivacy.PUBLIC, channelId: servers[1].store.channel.id, saveReplay: true, + replaySettings: { privacy: VideoPrivacy.PUBLIC }, permanentLive: false } }) @@ -367,6 +368,7 @@ describe('Test user notifications', function () { privacy: VideoPrivacy.PUBLIC, channelId: servers[1].store.channel.id, saveReplay: true, + replaySettings: { privacy: VideoPrivacy.PUBLIC }, permanentLive: true } }) -- cgit v1.2.3