From 7137377d097a74087ed062c8071c1aa5c717c7f7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Nov 2021 17:36:38 +0100 Subject: Auto update publishedAt in live restream --- server/lib/live/live-manager.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/lib/live/live-manager.ts') diff --git a/server/lib/live/live-manager.ts b/server/lib/live/live-manager.ts index b3bf5a999..33e49acc1 100644 --- a/server/lib/live/live-manager.ts +++ b/server/lib/live/live-manager.ts @@ -343,6 +343,7 @@ class LiveManager { logger.info('Will publish and federate live %s.', video.url, localLTags) video.state = VideoState.PUBLISHED + video.publishedAt = new Date() await video.save() live.Video = video -- cgit v1.2.3