mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-17 02:11:31 +02:00
Appease the linter
This commit is contained in:
parent
42e6287bdb
commit
521bc90b5f
@ -35,7 +35,7 @@ export default class SoftLogout extends React.Component {
|
||||
const defaultServerConfig: ValidatedServerConfig = SdkConfig.get()["validated_server_config"];
|
||||
|
||||
const hsUrl = MatrixClientPeg.get().getHomeserverUrl();
|
||||
const domainName = hsUrl === defaultServerConfig.hsUrl
|
||||
const domainName = hsUrl === defaultServerConfig.hsUrl
|
||||
? defaultServerConfig.hsName
|
||||
: MatrixClientPeg.get().getHomeServerName();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user