From 572f8d3dba44ba874f5c51023214273e3f5b643c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Nov 2017 15:42:12 +0100 Subject: Fix public video we set to public or unlisted --- server/controllers/api/videos/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/controllers/api/videos') diff --git a/server/controllers/api/videos/index.ts b/server/controllers/api/videos/index.ts index a5414cc50..22a88620a 100644 --- a/server/controllers/api/videos/index.ts +++ b/server/controllers/api/videos/index.ts @@ -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) } }) -- cgit v1.2.3