Merge pull request #4612 from matrix-org/dbkr/fix_restore_with_ssss

Fix key backup restore with SSSS
This commit is contained in:
David Baker 2020-05-21 12:54:41 +01:00 committed by GitHub
commit 7533a8f80b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,7 +201,7 @@ export default class RestoreKeyBackupDialog extends React.PureComponent {
// `accessSecretStorage` may prompt for storage access as needed.
const recoverInfo = await accessSecretStorage(async () => {
return MatrixClientPeg.get().restoreKeyBackupWithSecretStorage(
this.state.backupInfo,
this.state.backupInfo, undefined, undefined,
{ progressCallback: this._progressCallback },
);
});