From 7eadeee3328f49a7c25b89f51e74fcecd353e364 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 29 Aug 2025 15:32:16 +0100 Subject: [PATCH] Fix stable-suffixed MSC4133 support It looked for the ".stable" suffixed feature to work out what URL to use but not to see whether the server supported it. --- src/settings/Settings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 3adb29a23eb..f0f52bbbf87 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details. */ import React, { type ReactNode } from "react"; -import { UNSTABLE_MSC4133_EXTENDED_PROFILES } from "matrix-js-sdk/src/matrix"; +import { STABLE_MSC4133_EXTENDED_PROFILES, UNSTABLE_MSC4133_EXTENDED_PROFILES } from "matrix-js-sdk/src/matrix"; import { type MediaPreviewConfig } from "../@types/media_preview.ts"; // Import i18n.tsx instead of languageHandler to avoid circular deps @@ -844,7 +844,7 @@ export const SETTINGS: Settings = { controller: new ServerSupportUnstableFeatureController( "userTimezonePublish", defaultWatchManager, - [[UNSTABLE_MSC4133_EXTENDED_PROFILES]], + [[UNSTABLE_MSC4133_EXTENDED_PROFILES], [STABLE_MSC4133_EXTENDED_PROFILES]], undefined, _td("labs|extended_profiles_msc_support"), ),