From a656ebb2e24832b641c8c22fa86ed062421e021b Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 9 Apr 2025 17:23:23 +0300 Subject: [PATCH] web/preferences: disable media previews by default --- web/src/api/types/preferences/preferences.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/api/types/preferences/preferences.ts b/web/src/api/types/preferences/preferences.ts index 1bebaa4..bdd16e6 100644 --- a/web/src/api/types/preferences/preferences.ts +++ b/web/src/api/types/preferences/preferences.ts @@ -57,7 +57,7 @@ export const preferences = { displayName: "Show image and video previews", description: "If disabled, images and videos will only be visible after clicking and will not be downloaded automatically. This will also disable images in URL previews.", allowedContexts: anyContext, - defaultValue: true, + defaultValue: false, }), show_inline_images: new Preference({ displayName: "Show inline images", @@ -69,7 +69,7 @@ export const preferences = { displayName: "Show avatars in invites", description: "If disabled, the avatar of the room or inviter will not be shown in the invite view.", allowedContexts: anyGlobalContext, - defaultValue: true, + defaultValue: false, }), code_block_line_wrap: new Preference({ displayName: "Code block line wrap",