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