diff options
Diffstat (limited to 'server/lib/activitypub/videos.ts')
-rw-r--r-- | server/lib/activitypub/videos.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts index 40e9318e3..e65362190 100644 --- a/server/lib/activitypub/videos.ts +++ b/server/lib/activitypub/videos.ts | |||
@@ -83,6 +83,11 @@ async function videoActivityObjectToDBAttributes (videoChannel: VideoChannelMode | |||
83 | description = videoObject.content | 83 | description = videoObject.content |
84 | } | 84 | } |
85 | 85 | ||
86 | let support = null | ||
87 | if (videoObject.support) { | ||
88 | support = videoObject.support | ||
89 | } | ||
90 | |||
86 | return { | 91 | return { |
87 | name: videoObject.name, | 92 | name: videoObject.name, |
88 | uuid: videoObject.uuid, | 93 | uuid: videoObject.uuid, |
@@ -91,6 +96,7 @@ async function videoActivityObjectToDBAttributes (videoChannel: VideoChannelMode | |||
91 | licence, | 96 | licence, |
92 | language, | 97 | language, |
93 | description, | 98 | description, |
99 | support, | ||
94 | nsfw: videoObject.sensitive, | 100 | nsfw: videoObject.sensitive, |
95 | commentsEnabled: videoObject.commentsEnabled, | 101 | commentsEnabled: videoObject.commentsEnabled, |
96 | channelId: videoChannel.id, | 102 | channelId: videoChannel.id, |