1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 02:09:37 +02:00

Fix public video we set to public or unlisted

This commit is contained in:
Chocobozzz 2017-11-17 15:42:12 +01:00
parent 9a27cdc27c
commit 572f8d3dba
No known key found for this signature in database
GPG key ID: 583A612D890159BE
13 changed files with 58 additions and 61 deletions

View file

@ -291,6 +291,7 @@ async function updateVideo (req: express.Request, res: express.Response) {
// Video is not private anymore, send a create action to remote servers
if (wasPrivateVideo === true && videoInstance.privacy !== VideoPrivacy.PRIVATE) {
await sendAddVideo(videoInstance, t)
await shareVideoByServer(videoInstance, t)
}
})