Skip to content

Commit 1b4a979

Browse files
authored
Fix stable-suffixed MSC4133 support (#30649)
It looked for the ".stable" suffixed feature to work out what URL to use but not to see whether the server supported it.
1 parent d287ac0 commit 1b4a979

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/settings/Settings.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details.
88
*/
99

1010
import React, { type ReactNode } from "react";
11-
import { UNSTABLE_MSC4133_EXTENDED_PROFILES } from "matrix-js-sdk/src/matrix";
11+
import { STABLE_MSC4133_EXTENDED_PROFILES, UNSTABLE_MSC4133_EXTENDED_PROFILES } from "matrix-js-sdk/src/matrix";
1212

1313
import { type MediaPreviewConfig } from "../@types/media_preview.ts";
1414
// Import i18n.tsx instead of languageHandler to avoid circular deps
@@ -844,7 +844,7 @@ export const SETTINGS: Settings = {
844844
controller: new ServerSupportUnstableFeatureController(
845845
"userTimezonePublish",
846846
defaultWatchManager,
847-
[[UNSTABLE_MSC4133_EXTENDED_PROFILES]],
847+
[[UNSTABLE_MSC4133_EXTENDED_PROFILES], [STABLE_MSC4133_EXTENDED_PROFILES]],
848848
undefined,
849849
_td("labs|extended_profiles_msc_support"),
850850
),

0 commit comments

Comments
 (0)