]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/videos/index.ts
Use RsaSignature2017
[github/Chocobozzz/PeerTube.git] / server / controllers / api / videos / index.ts
index 3e65e844be7f6d91f69cf0d3d1849f01978eaa02..8283f2e4e3a537b3eeea7c446f21be7f8fd8d8d4 100644 (file)
@@ -252,7 +252,6 @@ async function addVideo (req: express.Request, res: express.Response, videoPhysi
     if (video.privacy === VideoPrivacy.PRIVATE) return videoCreated
 
     await sendCreateVideo(video, t)
-    // TODO: share by video channel
     await shareVideoByServerAndChannel(video, t)
 
     logger.info('Video with name %s and uuid %s created.', videoInfo.name, videoCreated.uuid)
@@ -309,7 +308,6 @@ async function updateVideo (req: express.Request, res: express.Response) {
       // Video is not private anymore, send a create action to remote servers
       if (wasPrivateVideo === true && videoInstanceUpdated.privacy !== VideoPrivacy.PRIVATE) {
         await sendCreateVideo(videoInstanceUpdated, t)
-        // TODO: Send by video channel
         await shareVideoByServerAndChannel(videoInstanceUpdated, t)
       }
     })