Appease the linter
This commit is contained in:
parent
42e6287bdb
commit
521bc90b5f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default class SoftLogout extends React.Component {
|
||||||
const defaultServerConfig: ValidatedServerConfig = SdkConfig.get()["validated_server_config"];
|
const defaultServerConfig: ValidatedServerConfig = SdkConfig.get()["validated_server_config"];
|
||||||
|
|
||||||
const hsUrl = MatrixClientPeg.get().getHomeserverUrl();
|
const hsUrl = MatrixClientPeg.get().getHomeserverUrl();
|
||||||
const domainName = hsUrl === defaultServerConfig.hsUrl
|
const domainName = hsUrl === defaultServerConfig.hsUrl
|
||||||
? defaultServerConfig.hsName
|
? defaultServerConfig.hsName
|
||||||
: MatrixClientPeg.get().getHomeServerName();
|
: MatrixClientPeg.get().getHomeServerName();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue