Make sonar happier (#9114)

* Make sonar happier

* Rename method
This commit is contained in:
Michael Telatynski
2022-07-29 11:01:15 +00:00
committed by GitHub
parent 6a8dd23d29
commit 45f6c32eb6
6 changed files with 17 additions and 23 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function getDefaultIdentityServerUrl(): string {
return SdkConfig.get("validated_server_config").isUrl;
}
export function useDefaultIdentityServer(): void {
export function setToDefaultIdentityServer(): void {
const url = getDefaultIdentityServerUrl();
// Account data change will update localstorage, client, etc through dispatcher
MatrixClientPeg.get().setAccountData("m.identity_server", {