From 8eb8bc201e0861599702a4048ff7edc59ad34d89 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jun 2018 17:51:25 +0200 Subject: Pick average video file insead of max quality --- server/lib/job-queue/handlers/video-file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/lib/job-queue/handlers/video-file.ts b/server/lib/job-queue/handlers/video-file.ts index a6fce4279..85f7dbfc2 100644 --- a/server/lib/job-queue/handlers/video-file.ts +++ b/server/lib/job-queue/handlers/video-file.ts @@ -85,7 +85,7 @@ async function onVideoFileOptimizerSuccess (video: VideoModel, isNewVideo: boole if (!videoDatabase) return undefined if (video.privacy !== VideoPrivacy.PRIVATE) { - if (isNewVideo === true) { + if (isNewVideo !== false) { // Now we'll add the video's meta data to our followers await sequelizeTypescript.transaction(async t => { await sendCreateVideo(video, t) -- cgit v1.2.3