- Remove deprecated MatrixClient.keyBackupKeyFromPassword call. (#28233)

- The `keyBackupKeyFromPassword` call is bound to the `keyCallback` props in `RestoreKeyBackupDialog` which is not used in `CreateSecretStorageDialog`
- Remove code bound to `keyCallback` props
This commit is contained in:
Florian Duros 2024-10-21 11:59:07 +02:00 committed by GitHub
parent 3294c6b5c5
commit 061c8217b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 19 deletions

View file

@ -404,13 +404,10 @@ export default class CreateSecretStorageDialog extends React.PureComponent<IProp
};
private restoreBackup = async (): Promise<void> => {
const keyCallback = (k: Uint8Array): void => {};
const { finished } = Modal.createDialog(
RestoreKeyBackupDialog,
{
showSummary: false,
keyCallback,
},
undefined,
/* priority = */ false,