Skip to content

Commit

Permalink
remove depreacted code
Browse files Browse the repository at this point in the history
  • Loading branch information
odelcroi committed Aug 23, 2023
1 parent 4fdf323 commit 394b9e6
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/tchap/util/TchapUserSettings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import { SettingLevel } from "matrix-react-sdk/src/settings/SettingLevel";
import SettingsStore from "matrix-react-sdk/src/settings/SettingsStore";

import TchapUIFeature from "./TchapUIFeature";

export default class TchapUserSettings {
/**
Expand All @@ -10,12 +6,6 @@ export default class TchapUserSettings {
*/
public static override() {

/* @deprecated
if (!TchapUIFeature.isCrossSigningAndSecureStorageActive()) {
//hard code this option in to order to hide secure storage in the user info > sessions panel
console.log(":tchap: hardcode e2ee.manuallyVerifyAllSessions to true");
SettingsStore.setValue("e2ee.manuallyVerifyAllSessions", null, SettingLevel.DEVICE, true);
}
*/
//override user settings here if needed
}
}

0 comments on commit 394b9e6

Please sign in to comment.