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

Commit

Permalink
Merge pull request #3213 from matrix-org/travis/remove-is-flag
Browse files Browse the repository at this point in the history
Remove unused identityEnabled property from ValidatedServerConfig
  • Loading branch information
turt2live authored Jul 12, 2019
2 parents 28c3578 + 285b126 commit 5f98e4e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/views/auth/ServerTypeSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const TYPES = {
hsName: "matrix.org",
hsNameIsDifferent: false,
isUrl: "https://vector.im",
identityEnabled: true,
}),
},
PREMIUM: {
Expand Down
3 changes: 0 additions & 3 deletions src/utils/AutoDiscoveryUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import React from 'react';
import {AutoDiscovery} from "matrix-js-sdk";
import {_t, _td, newTranslatableError} from "../languageHandler";
import {makeType} from "./TypeUtils";
import SdkConfig from "../SdkConfig";

const LIVELINESS_DISCOVERY_ERRORS = [
AutoDiscovery.ERROR_INVALID_HOMESERVER,
Expand All @@ -31,7 +30,6 @@ export class ValidatedServerConfig {
hsNameIsDifferent: string;

isUrl: string;
identityEnabled: boolean;

isDefault: boolean;
}
Expand Down Expand Up @@ -236,7 +234,6 @@ export default class AutoDiscoveryUtils {
hsName: preferredHomeserverName,
hsNameIsDifferent: url.hostname !== preferredHomeserverName,
isUrl: preferredIdentityUrl,
identityEnabled: !SdkConfig.get()['disable_identity_server'],
isDefault: false,
});
}
Expand Down
1 change: 0 additions & 1 deletion test/test-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,6 @@ export function mkServerConfig(hsUrl, isUrl) {
hsName: "TEST_ENVIRONMENT",
hsNameIsDifferent: false, // yes, we lie
isUrl,
identityEnabled: true,
});
}

Expand Down

0 comments on commit 5f98e4e

Please sign in to comment.