Skip to content

Commit

Permalink
Replace MatrixClient.getDefaultSecretStorageKeyId by `MatrixClient.…
Browse files Browse the repository at this point in the history
…SecretStorage.getDefaultKeyId`
  • Loading branch information
florianduros committed Oct 17, 2024
1 parent ed290b3 commit c54f038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SecurityManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function getSecretStorageKey({
keys: Record<string, SecretStorage.SecretStorageKeyDescription>;
}): Promise<[string, Uint8Array]> {
const cli = MatrixClientPeg.safeGet();
let keyId = await cli.getDefaultSecretStorageKeyId();
let keyId = await cli.secretStorage.getDefaultKeyId();
let keyInfo!: SecretStorage.SecretStorageKeyDescription;
if (keyId) {
// use the default SSSS key if set
Expand Down

0 comments on commit c54f038

Please sign in to comment.