Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 51f04ee

Browse files
committed
Additional merge fix
1 parent b65d2d8 commit 51f04ee

File tree

6 files changed

+6
-13
lines changed

6 files changed

+6
-13
lines changed

src/components/views/dialogs/UserTab.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ limitations under the License.
1616

1717
export enum UserTab {
1818
General = "USER_GENERAL_TAB",
19+
Account = "USER_GENERAL_ACCOUNT",
1920
Appearance = "USER_APPEARANCE_TAB",
2021
Notifications = "USER_NOTIFICATIONS_TAB",
2122
Preferences = "USER_PREFERENCES_TAB",
2223
Keyboard = "USER_KEYBOARD_TAB",
2324
Sidebar = "USER_SIDEBAR_TAB",
2425
Voice = "USER_VOICE_TAB",
25-
Security = "USER_SECURITY_TAB",
26+
SecureMessaging = "USER_SECUREMESSAGING_TAB",
2627
Labs = "USER_LABS_TAB",
27-
Mjolnir = "USER_MJOLNIR_TAB",
28+
Privacy = "USER_MJOLNIR_TAB",
2829
Help = "USER_HELP_TAB",
2930
}

src/components/views/settings/E2eDevicesPanel.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import { CrossSigningInfo } from "matrix-js-sdk/src/crypto/CrossSigning";
2222

2323
import { MatrixClientPeg } from '../../../MatrixClientPeg';
2424
import { _t } from '../../../languageHandler';
25-
import { replaceableComponent } from "../../../utils/replaceableComponent";
2625
import DevicesPanelEntry from "./DevicesPanelEntry";
2726
import Spinner from "../elements/Spinner";
2827
import AccessibleButton from "../elements/AccessibleButton";
@@ -38,7 +37,6 @@ interface IState {
3837
selectedDevices: string[];
3938
}
4039

41-
@replaceableComponent("views.settings.E2eDevicesPanel")
4240
export default class E2eDevicesPanel extends React.Component<IProps, IState> {
4341
private unmounted = false;
4442

src/components/views/settings/tabs/user/AccountUserSettingsTab.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import dis from "../../../../../dispatcher/dispatcher";
3030
import { getThreepidsWithBindStatus } from '../../../../../boundThreepids';
3131
import Spinner from "../../../elements/Spinner";
3232
import { UIFeature } from "../../../../../settings/UIFeature";
33-
import { replaceableComponent } from "../../../../../utils/replaceableComponent";
3433
import { ActionPayload } from "../../../../../dispatcher/payloads";
3534
import ErrorDialog from "../../../dialogs/ErrorDialog";
3635
import AccountPhoneNumbers from "../../account/PhoneNumbers";
@@ -51,7 +50,6 @@ interface IState {
5150
canChangePassword: boolean;
5251
}
5352

54-
@replaceableComponent("views.settings.tabs.user.AccountUserSettingsTab")
5553
export default class AccountUserSettingsTab extends React.Component<IProps, IState> {
5654
private readonly dispatcherRef: string;
5755

src/components/views/settings/tabs/user/PrivacyUserSettingsTab.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import { ListRule } from "../../../../../mjolnir/ListRule";
2828
import { BanList, RULE_SERVER, RULE_USER } from "../../../../../mjolnir/BanList";
2929
import Modal from "../../../../../Modal";
3030
import { MatrixClientPeg } from "../../../../../MatrixClientPeg";
31-
import { replaceableComponent } from "../../../../../utils/replaceableComponent";
3231
import ErrorDialog from "../../../dialogs/ErrorDialog";
3332
import QuestionDialog from "../../../dialogs/QuestionDialog";
3433
import AccessibleButton from "../../../elements/AccessibleButton";
@@ -107,7 +106,6 @@ interface IState {
107106
haveIdServer: boolean;
108107
}
109108

110-
@replaceableComponent("views.settings.tabs.user.MjolnirUserSettingsTab")
111109
export default class MjolnirUserSettingsTab extends React.Component<IProps, IState> {
112110
private dispatcherRef: string;
113111
private mjolnirWatcher: string;

src/components/views/settings/tabs/user/SecureMessagingUserSettingsTab.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,11 @@ limitations under the License.
1717
import React from 'react';
1818

1919
import { _t } from "../../../../../languageHandler";
20-
import { privateShouldBeEncrypted } from "../../../../../createRoom";
20+
import { privateShouldBeEncrypted } from "../../../../../utils/rooms";
2121
import SecureBackupPanel from "../../SecureBackupPanel";
2222
import SettingsStore from "../../../../../settings/SettingsStore";
2323
import { UIFeature } from "../../../../../settings/UIFeature";
2424
import E2eAdvancedPanel, { isE2eAdvancedPanelPossible } from "../../E2eAdvancedPanel";
25-
import { replaceableComponent } from "../../../../../utils/replaceableComponent";
2625
import CryptographyPanel from "../../CryptographyPanel";
2726
import E2eDevicesPanel from "../../E2eDevicesPanel";
2827
import CrossSigningPanel from "../../CrossSigningPanel";
@@ -37,7 +36,6 @@ interface IState {
3736
canChangePassword: boolean;
3837
}
3938

40-
@replaceableComponent("views.settings.tabs.user.SecureMessagingUserSettingsTab")
4139
export default class SecureMessagingUserSettingsTab extends React.Component<IProps, IState> {
4240
constructor(props: IProps) {
4341
super(props);

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6232,7 +6232,7 @@ matrix-encrypt-attachment@^1.0.3:
62326232
resolved "https://registry.yarnpkg.com/matrix-encrypt-attachment/-/matrix-encrypt-attachment-1.0.3.tgz#6e016587728c396549c833985f39cbf6c07ee97b"
62336233
integrity sha512-NwfoDY/yHL9Zo8KrY5GP8ymAoZJpEFKEK+IgJKdWf5xtsIFf7KIU2pbw8+Eq592j//nSDOC+/Ff4Fk8gVvDZpw==
62346234

6235-
matrix-events-sdk@^0.0.1-beta.7:
6235+
matrix-events-sdk@^0.0.1-beta.6, matrix-events-sdk@^0.0.1-beta.7:
62366236
version "0.0.1-beta.7"
62376237
resolved "https://registry.yarnpkg.com/matrix-events-sdk/-/matrix-events-sdk-0.0.1-beta.7.tgz#5ffe45eba1f67cc8d7c2377736c728b322524934"
62386238
integrity sha512-9jl4wtWanUFSy2sr2lCjErN/oC8KTAtaeaozJtrgot1JiQcEI4Rda9OLgQ7nLKaqb4Z/QUx/fR3XpDzm5Jy1JA==
@@ -6247,7 +6247,7 @@ matrix-events-sdk@^0.0.1-beta.7:
62476247
bs58 "^4.0.1"
62486248
content-type "^1.0.4"
62496249
loglevel "^1.7.1"
6250-
matrix-events-sdk "^0.0.1-beta.6"
6250+
matrix-events-sdk "^0.0.1-beta.7"
62516251
p-retry "^4.5.0"
62526252
qs "^6.9.6"
62536253
request "^2.88.2"

0 commit comments

Comments
 (0)