From ce33ee01cd3806201b676c318e9aa930032921b2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 18 Dec 2017 11:53:04 +0100 Subject: Use RsaSignature2017 --- server/controllers/api/videos/index.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/controllers') diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index 3e65e844b..8283f2e4e 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts @@ -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) } }) -- cgit v1.2.3