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() {
|
||||
super();
|
||||
|
||||
let defaultIdServer = MatrixClientPeg.get().getIdentityServerUrl();
|
||||
let defaultIdServer = abbreviateUrl(MatrixClientPeg.get().getIdentityServerUrl());
|
||||
if (!defaultIdServer) {
|
||||
defaultIdServer = SdkConfig.get()['validated_server_config']['idServer'] || '';
|
||||
defaultIdServer = abbreviateUrl(SdkConfig.get()['validated_server_config']['idServer']) || '';
|
||||
}
|
||||
|
||||
this.state = {
|
||||
|
|
Loading…
Reference in a new issue