Skip to content

Commit

Permalink
Deprecate MatrixClient.keyBackupKeyFromPassword
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Sep 13, 2024
1 parent c542099 commit 8876e25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3650,6 +3650,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
* @param password - Passphrase
* @param backupInfo - Backup metadata from `checkKeyBackup`
* @returns key backup key
* @deprecated Use {@link keyFromAuthData} directly.
*/
public keyBackupKeyFromPassword(password: string, backupInfo: IKeyBackupInfo): Promise<Uint8Array> {
return keyFromAuthData(backupInfo.auth_data, password);
Expand Down

0 comments on commit 8876e25

Please sign in to comment.