parent
6a8dd23d29
commit
45f6c32eb6
6 changed files with 17 additions and 23 deletions
|
@ -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", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue