aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-19 11:49:50 +0100
committerChocobozzz <me@florianbigard.com>2021-01-19 16:36:20 +0100
commitd487a997c80fafe6067016c6cd8e8afd6141baa3 (patch)
tree2fd8987f50ae56d1f74543f264cd171b90809a3b /client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
parent1ef7f3230473c8a74032d269e027201c3a51974d (diff)
downloadPeerTube-d487a997c80fafe6067016c6cd8e8afd6141baa3.tar.gz
PeerTube-d487a997c80fafe6067016c6cd8e8afd6141baa3.tar.zst
PeerTube-d487a997c80fafe6067016c6cd8e8afd6141baa3.zip
Import in private, and then set the chosen privacy
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts')
-rw-r--r--client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
index a87d84d48..67d055f06 100644
--- a/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
+++ b/client/src/app/+videos/+video-edit/video-add-components/video-go-live.component.ts
@@ -55,8 +55,10 @@ export class VideoGoLiveComponent extends VideoSend implements OnInit, CanCompon
55 } 55 }
56 56
57 goLive () { 57 goLive () {
58 const name = 'Live'
59
58 const video: LiveVideoCreate = { 60 const video: LiveVideoCreate = {
59 name: 'Live', 61 name,
60 privacy: VideoPrivacy.PRIVATE, 62 privacy: VideoPrivacy.PRIVATE,
61 nsfw: this.serverConfig.instance.isNSFW, 63 nsfw: this.serverConfig.instance.isNSFW,
62 waitTranscoding: true, 64 waitTranscoding: true,