Replace MatrixClient.checkSecretStorageKey
by MatrixClient.SecretStorage.checkKey
(#142)
This commit is contained in:
parent
03186e4a4d
commit
3bc0439fd2
4 changed files with 8 additions and 10 deletions
|
@ -121,7 +121,7 @@ async function getSecretStorageKey({
|
|||
keyInfo,
|
||||
checkPrivateKey: async (input: KeyParams): Promise<boolean> => {
|
||||
const key = await inputToKey(input);
|
||||
return MatrixClientPeg.safeGet().checkSecretStorageKey(key, keyInfo);
|
||||
return MatrixClientPeg.safeGet().secretStorage.checkKey(key, keyInfo);
|
||||
},
|
||||
},
|
||||
/* className= */ undefined,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue