1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2019-07-03 16:51:09 -06:00
parent 42e6287bdb
commit 521bc90b5f

View File

@@ -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();