mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/preferences: disable media previews by default
This commit is contained in:
parent
c2b12b1a88
commit
a656ebb2e2
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ export const preferences = {
|
||||||
displayName: "Show image and video previews",
|
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.",
|
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,
|
allowedContexts: anyContext,
|
||||||
defaultValue: true,
|
defaultValue: false,
|
||||||
}),
|
}),
|
||||||
show_inline_images: new Preference<boolean>({
|
show_inline_images: new Preference<boolean>({
|
||||||
displayName: "Show inline images",
|
displayName: "Show inline images",
|
||||||
|
@ -69,7 +69,7 @@ export const preferences = {
|
||||||
displayName: "Show avatars in invites",
|
displayName: "Show avatars in invites",
|
||||||
description: "If disabled, the avatar of the room or inviter will not be shown in the invite view.",
|
description: "If disabled, the avatar of the room or inviter will not be shown in the invite view.",
|
||||||
allowedContexts: anyGlobalContext,
|
allowedContexts: anyGlobalContext,
|
||||||
defaultValue: true,
|
defaultValue: false,
|
||||||
}),
|
}),
|
||||||
code_block_line_wrap: new Preference<boolean>({
|
code_block_line_wrap: new Preference<boolean>({
|
||||||
displayName: "Code block line wrap",
|
displayName: "Code block line wrap",
|
||||||
|
|
Loading…
Add table
Reference in a new issue