Disable legacy media request fallbacks by default.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-07-27 02:48:55 +00:00
parent 4c35bfbda4
commit 6b7bf80de5
3 changed files with 18 additions and 2 deletions

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,