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:
parent
9a27cdc27c
commit
572f8d3dba
13 changed files with 58 additions and 61 deletions
|
@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue