Merge pull request #4617 from matrix-org/jryans/release-4612

Fix key backup restore with SSSS
This commit is contained in:
J. Ryan Stinnett 2020-05-22 13:43:26 +01:00 committed by GitHub
commit 1c3c084491
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 },
);
});