mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Update ffmpeg static version for tests
This commit is contained in:
parent
e4bf785617
commit
c655c9ef6f
9 changed files with 39 additions and 20 deletions
|
@ -31,6 +31,10 @@ async function processCreateView (activity: ActivityView | ActivityCreate, byAct
|
|||
}
|
||||
const { video } = await getOrCreateVideoAndAccountAndChannel(options)
|
||||
|
||||
if (!video.isLive) {
|
||||
await Redis.Instance.addVideoView(video.id)
|
||||
}
|
||||
|
||||
if (video.isOwned()) {
|
||||
// Our live manager will increment the counter and send the view to followers
|
||||
if (video.isLive) {
|
||||
|
@ -38,8 +42,6 @@ async function processCreateView (activity: ActivityView | ActivityCreate, byAct
|
|||
return
|
||||
}
|
||||
|
||||
await Redis.Instance.addVideoView(video.id)
|
||||
|
||||
// Forward the view but don't resend the activity to the sender
|
||||
const exceptions = [ byActor ]
|
||||
await forwardVideoRelatedActivity(activity, undefined, exceptions, video)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue