ActivityPub-federated video streaming platform using P2P directly in your web browser
Don't send views for private videos
Chocobozzz788fa301f24d
diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.tsindex 0ca5a500a5..708825c9fb 100644--- a/client/src/assets/player/shared/peertube/peertube-plugin.ts+++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts@@ -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 }