From 6cd38e4278f89cfc6e2bc4670019b1d25c3f8db7 Mon Sep 17 00:00:00 2001 From: Julian Anderson Date: Thu, 19 Nov 2026 21:46:24 -0500 Subject: [PATCH] chore(config): Alphabetize deprecated keys --- src/core/config/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 48fcb3d18..536193e10 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -2993,12 +2993,15 @@ impl<'de, K: Hash + Eq + Clone> Deserialize<'de> for PerMinuteRatelimiter { } const DEPRECATED_KEYS: &[&str] = &[ - "cache_capacity", "allow_check_for_updates", + "allow_moderators_to_view_redacted_content", + "allow_sticky_events", + "cache_capacity", "conduit_cache_capacity_modifier", "max_concurrent_requests", "otlp_protocol", "roomid_spacehierarchy_cache_capacity", + "unredacted_content_max_age_secs", "well_known_client", "well_known_server", "well_known_support_page", @@ -3006,9 +3009,6 @@ const DEPRECATED_KEYS: &[&str] = &[ "well_known_support_email", "well_known_support_mxid", "well_known.rtc_focus_server_urls", - "allow_sticky_events", - "allow_moderators_to_view_redacted_content", - "unredacted_content_max_age_secs", ]; impl Config {