From 5196817c5d7cf86b35f3fa2cfe108ba283944482 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 21 Oct 2021 09:24:22 +0200 Subject: Fix privacy concern for remote videos --- client/src/standalone/videos/embed.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/standalone') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index a6f0b2ed9..9d1c6c443 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -669,7 +669,7 @@ export class PeerTubeEmbed { const title = this.title ? videoInfo.name : undefined - const description = this.config.tracker.enabled && this.warningTitle + const description = this.warningTitle && (!videoInfo.isLocal || this.config.tracker.enabled) ? '' + peertubeTranslate('Watching this video may reveal your IP address to others.') + '' : undefined -- cgit v1.2.3