aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-07 15:56:17 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-02-11 09:13:02 +0100
commit597a9266d426aa04c2f229168e4285a76bea2c12 (patch)
tree2a6fe84ae7651a8a943939192697e2fdbe9f0b43 /server
parent4c280004ce62bf11ddb091854c28f1e1d54a54d6 (diff)
downloadPeerTube-597a9266d426aa04c2f229168e4285a76bea2c12.tar.gz
PeerTube-597a9266d426aa04c2f229168e4285a76bea2c12.tar.zst
PeerTube-597a9266d426aa04c2f229168e4285a76bea2c12.zip
Add player mode in watch/embed urls
Diffstat (limited to 'server')
-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 7119ce0ca..04983155c 100644
--- a/server/lib/job-queue/handlers/video-file.ts
+++ b/server/lib/job-queue/handlers/video-file.ts
@@ -172,7 +172,7 @@ async function onVideoFileOptimizerSuccess (videoArg: VideoModel, payload: Video
172 172
173 // don't notify prior to scheduled video update 173 // don't notify prior to scheduled video update
174 if (!videoDatabase.ScheduleVideoUpdate) { 174 if (!videoDatabase.ScheduleVideoUpdate) {
175 if (isNewVideo) Notifier.Instance.notifyOnNewVideo(videoDatabase) 175 if (payload.isNewVideo) Notifier.Instance.notifyOnNewVideo(videoDatabase)
176 if (videoPublished) Notifier.Instance.notifyOnPendingVideoPublished(videoDatabase) 176 if (videoPublished) Notifier.Instance.notifyOnPendingVideoPublished(videoDatabase)
177 } 177 }
178 178