diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts index da9b3bd0e..cf96b33ba 100644 --- a/client/src/assets/player/shared/peertube/peertube-plugin.ts +++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts @@ -216,7 +216,7 @@ class PeerTubePlugin extends Plugin { saveVideoWatchHistory(this.videoUUID, currentTime) } - if (!this.videoViewUrl) return + if (!this.videoViewUrl) return Promise.resolve(true) const body: VideoView = { currentTime, viewEvent }