diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-03 14:10:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-03 15:21:16 +0100 |
commit | bb4ba6d94c5051fdd665ebe63fffcc105778b8be (patch) | |
tree | d39302608c53e31395683bb5dd551eac6ced89f8 /server/models/video/video-format-utils.ts | |
parent | 19b7ebfaa822b12f6da25ad2ba10398b3ef25ec6 (diff) | |
download | PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.tar.gz PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.tar.zst PeerTube-bb4ba6d94c5051fdd665ebe63fffcc105778b8be.zip |
Add permanent live support
Diffstat (limited to 'server/models/video/video-format-utils.ts')
-rw-r--r-- | server/models/video/video-format-utils.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/models/video/video-format-utils.ts b/server/models/video/video-format-utils.ts index b1adbcb86..a1f022fb4 100644 --- a/server/models/video/video-format-utils.ts +++ b/server/models/video/video-format-utils.ts | |||
@@ -360,6 +360,10 @@ function videoModelToActivityPubObject (video: MVideoAP): VideoObject { | |||
360 | ? video.VideoLive.saveReplay | 360 | ? video.VideoLive.saveReplay |
361 | : null, | 361 | : null, |
362 | 362 | ||
363 | permanentLive: video.isLive | ||
364 | ? video.VideoLive.permanentLive | ||
365 | : null, | ||
366 | |||
363 | state: video.state, | 367 | state: video.state, |
364 | commentsEnabled: video.commentsEnabled, | 368 | commentsEnabled: video.commentsEnabled, |
365 | downloadEnabled: video.downloadEnabled, | 369 | downloadEnabled: video.downloadEnabled, |