mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
shorten url by default
This commit is contained in:
parent
06905bc5bb
commit
bc66545fd0
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue