From 521bc90b5f26d74258ddfe4199877d01ca82ac6a Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 3 Jul 2019 16:51:09 -0600 Subject: [PATCH] Appease the linter --- src/components/structures/auth/SoftLogout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/auth/SoftLogout.js b/src/components/structures/auth/SoftLogout.js index 51ad3bb8d1..85654d512a 100644 --- a/src/components/structures/auth/SoftLogout.js +++ b/src/components/structures/auth/SoftLogout.js @@ -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();