diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-03 10:12:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-03 10:38:19 +0100 |
commit | 47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04 (patch) | |
tree | 25e2836baf3dfce6f422192d98332db1bfe65890 /server/lib | |
parent | c5911fd347c76e8bdc05ea9f3ee9efed4a58c236 (diff) | |
download | PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.tar.gz PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.tar.zst PeerTube-47564bbe2eeb2baae9b7e3f9b2b8d16522bc7e04.zip |
Add ability to disable video comments
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/process/misc.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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 ( | |||
53 | language, | 53 | language, |
54 | description, | 54 | description, |
55 | nsfw: videoObject.nsfw, | 55 | nsfw: videoObject.nsfw, |
56 | commentsEnabled: videoObject.commentsEnabled, | ||
56 | channelId: videoChannel.id, | 57 | channelId: videoChannel.id, |
57 | duration: parseInt(duration, 10), | 58 | duration: parseInt(duration, 10), |
58 | createdAt: new Date(videoObject.published), | 59 | createdAt: new Date(videoObject.published), |