From 47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 3 Jan 2018 10:12:36 +0100 Subject: Add ability to disable video comments --- server/lib/activitypub/process/misc.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/lib/activitypub/process') diff --git a/server/lib/activitypub/process/misc.ts b/server/lib/activitypub/process/misc.ts index f65395c99..461619ea7 100644 --- a/server/lib/activitypub/process/misc.ts +++ b/server/lib/activitypub/process/misc.ts @@ -53,6 +53,7 @@ async function videoActivityObjectToDBAttributes ( language, description, nsfw: videoObject.nsfw, + commentsEnabled: videoObject.commentsEnabled, channelId: videoChannel.id, duration: parseInt(duration, 10), createdAt: new Date(videoObject.published), -- cgit v1.2.3