Skip to content

Commit

Permalink
Remove alternative in keyBackupKeyFromPassword deprecation.
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Sep 13, 2024
1 parent 655bbe1 commit 553ec16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3656,7 +3656,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.
* @deprecated
*/
public keyBackupKeyFromPassword(password: string, backupInfo: IKeyBackupInfo): Promise<Uint8Array> {
return keyFromAuthData(backupInfo.auth_data, password);
Expand Down

0 comments on commit 553ec16

Please sign in to comment.