Disable legacy media request fallbacks by default.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-07-27 07:04:09 +00:00
1 parent 4c35bfbda4
commit 6b7bf80de5
3 files changed
+18 -2

No files matched your search

+6
View File
@@ -1318,6 +1318,12 @@ pub struct Config {
#[serde(default)]
pub allow_legacy_media: bool,
/// Fallback to requesting legacy unauthenticated media from remote servers.
/// Unauthenticated media was removed in ~2024Q3; enabling this adds
/// considerable federation requests which are unlikely to succeed.
#[serde(default)]
pub request_legacy_media: bool,
#[serde(default = "true_fn")]
pub freeze_legacy_media: bool,