Appease the linter

pull/21833/head
Travis Ralston 2019-07-03 16:51:09 -06:00
parent 42e6287bdb
commit 521bc90b5f
1 changed files with 1 additions and 1 deletions

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