aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib')
-rw-r--r--server/lib/activitypub/videos.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts
index edd01234f..710929aac 100644
--- a/server/lib/activitypub/videos.ts
+++ b/server/lib/activitypub/videos.ts
@@ -243,6 +243,7 @@ async function updateVideoFromAP (options: {
243 options.video.set('support', videoData.support) 243 options.video.set('support', videoData.support)
244 options.video.set('nsfw', videoData.nsfw) 244 options.video.set('nsfw', videoData.nsfw)
245 options.video.set('commentsEnabled', videoData.commentsEnabled) 245 options.video.set('commentsEnabled', videoData.commentsEnabled)
246 options.video.set('downloadEnabled', videoData.downloadEnabled)
246 options.video.set('waitTranscoding', videoData.waitTranscoding) 247 options.video.set('waitTranscoding', videoData.waitTranscoding)
247 options.video.set('state', videoData.state) 248 options.video.set('state', videoData.state)
248 options.video.set('duration', videoData.duration) 249 options.video.set('duration', videoData.duration)
@@ -503,6 +504,7 @@ async function videoActivityObjectToDBAttributes (
503 support, 504 support,
504 nsfw: videoObject.sensitive, 505 nsfw: videoObject.sensitive,
505 commentsEnabled: videoObject.commentsEnabled, 506 commentsEnabled: videoObject.commentsEnabled,
507 downloadEnabled: videoObject.downloadEnabled,
506 waitTranscoding: videoObject.waitTranscoding, 508 waitTranscoding: videoObject.waitTranscoding,
507 state: videoObject.state, 509 state: videoObject.state,
508 channelId: videoChannel.id, 510 channelId: videoChannel.id,