mirror of https://github.com/Chocobozzz/PeerTube
Don't send views for private videos
parent
1ba8bbded0
commit
788fa301f2
|
@ -291,7 +291,7 @@ class PeerTubePlugin extends Plugin {
|
|||
saveVideoWatchHistory(this.options.videoUUID(), currentTime)
|
||||
}
|
||||
|
||||
if (!this.videoViewUrl) return Promise.resolve(true)
|
||||
if (!this.videoViewUrl()) return Promise.resolve(true)
|
||||
|
||||
const body: VideoView = { currentTime, viewEvent }
|
||||
|
||||
|
|
Loading…
Reference in New Issue