aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/job-queue/handlers/video-file.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/job-queue/handlers/video-file.ts')
-rw-r--r--server/lib/job-queue/handlers/video-file.ts2
1 files changed, 1 insertions, 1 deletions
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
85 if (!videoDatabase) return undefined 85 if (!videoDatabase) return undefined
86 86
87 if (video.privacy !== VideoPrivacy.PRIVATE) { 87 if (video.privacy !== VideoPrivacy.PRIVATE) {
88 if (isNewVideo === true) { 88 if (isNewVideo !== false) {
89 // Now we'll add the video's meta data to our followers 89 // Now we'll add the video's meta data to our followers
90 await sequelizeTypescript.transaction(async t => { 90 await sequelizeTypescript.transaction(async t => {
91 await sendCreateVideo(video, t) 91 await sendCreateVideo(video, t)