fix: disable security setting (confusing)

This commit is contained in:
2025-12-30 21:19:49 +01:00
parent e9a5f21437
commit 7654282d79
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -332,11 +332,13 @@ export default class UserMenu extends React.Component<IProps, IState> {
label={_t("notifications|enable_prompt_toast_title")}
onClick={(e) => this.onSettingsOpen(e, UserTab.Notifications)}
/>
{/* JP: Disabled Security menu item for HealthChat
<IconizedContextMenuOption
iconClassName="mx_UserMenu_iconLock"
label={_t("room_settings|security|title")}
onClick={(e) => this.onSettingsOpen(e, UserTab.Security)}
/>
*/}
<IconizedContextMenuOption
iconClassName="mx_UserMenu_iconSettings"
label={_t("user_menu|settings")}
@@ -196,6 +196,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element {
);
}
/* JP: Disabled Security tab for HealthChat
tabs.push(
new Tab(
UserTab.Security,
@@ -205,6 +206,7 @@ export default function UserSettingsDialog(props: IProps): JSX.Element {
"UserSettingsSecurityPrivacy",
),
);
*/
tabs.push(
new Tab(