web/preferences: disable media previews by default
Some checks failed
Go / Lint Go (old) (push) Has been cancelled
Go / Lint Go (latest) (push) Has been cancelled
JS / Lint JS (push) Has been cancelled

This commit is contained in:
Tulir Asokan 2025-04-09 17:23:23 +03:00
parent c2b12b1a88
commit a656ebb2e2

View file

@ -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<boolean>({
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<boolean>({
displayName: "Code block line wrap",