}
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) {
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)