mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
shorten url by default
This commit is contained in:
parent
06905bc5bb
commit
bc66545fd0
@ -88,9 +88,9 @@ export default class SetIdServer extends React.Component {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
|
|
||||||
let defaultIdServer = MatrixClientPeg.get().getIdentityServerUrl();
|
let defaultIdServer = abbreviateUrl(MatrixClientPeg.get().getIdentityServerUrl());
|
||||||
if (!defaultIdServer) {
|
if (!defaultIdServer) {
|
||||||
defaultIdServer = SdkConfig.get()['validated_server_config']['idServer'] || '';
|
defaultIdServer = abbreviateUrl(SdkConfig.get()['validated_server_config']['idServer']) || '';
|
||||||
}
|
}
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
|
Loading…
Reference in New Issue
Block a user