mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-06 04:36:21 +02:00
Remove unused identityEnabled property from ValidatedServerConfig
See https://github.com/vector-im/riot-web/issues/10229
This commit is contained in:
parent
0950037ca3
commit
7a3aa9be2e
@ -39,7 +39,6 @@ export const TYPES = {
|
||||
hsName: "matrix.org",
|
||||
hsNameIsDifferent: false,
|
||||
isUrl: "https://vector.im",
|
||||
identityEnabled: true,
|
||||
}),
|
||||
},
|
||||
PREMIUM: {
|
||||
|
||||
@ -31,7 +31,6 @@ export class ValidatedServerConfig {
|
||||
hsNameIsDifferent: string;
|
||||
|
||||
isUrl: string;
|
||||
identityEnabled: boolean;
|
||||
|
||||
isDefault: boolean;
|
||||
}
|
||||
@ -236,7 +235,6 @@ export default class AutoDiscoveryUtils {
|
||||
hsName: preferredHomeserverName,
|
||||
hsNameIsDifferent: url.hostname !== preferredHomeserverName,
|
||||
isUrl: preferredIdentityUrl,
|
||||
identityEnabled: !SdkConfig.get()['disable_identity_server'],
|
||||
isDefault: false,
|
||||
});
|
||||
}
|
||||
|
||||
@ -268,7 +268,6 @@ export function mkServerConfig(hsUrl, isUrl) {
|
||||
hsName: "TEST_ENVIRONMENT",
|
||||
hsNameIsDifferent: false, // yes, we lie
|
||||
isUrl,
|
||||
identityEnabled: true,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user