mirror of https://github.com/Chocobozzz/PeerTube
Merge branch 'release/4.1.0' into develop
commit
ab4b897499
|
@ -139,7 +139,9 @@ async function updateVideo (req: express.Request, res: express.Response) {
|
|||
return { videoInstanceUpdated, isNewVideo }
|
||||
})
|
||||
|
||||
if (videoInfoToUpdate.name) await updateTorrentsMetadata(videoInstanceUpdated)
|
||||
if (videoInstanceUpdated.isLive !== true && videoInfoToUpdate.name) {
|
||||
await updateTorrentsMetadata(videoInstanceUpdated)
|
||||
}
|
||||
|
||||
await sequelizeTypescript.transaction(t => federateVideoIfNeeded(videoInstanceUpdated, isNewVideo, t))
|
||||
|
||||
|
|
Loading…
Reference in New Issue