1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Pass the key backup into the right thing

This commit is contained in:
David Baker
2019-12-19 17:28:32 +00:00
parent 6851ad04b6
commit 48b166f451

View File

@@ -122,7 +122,6 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
this.setState({
phase: PHASE_STORING,
error: null,
keyBackupInfo: this.state.backupInfo,
});
const cli = MatrixClientPeg.get();
try {
@@ -143,6 +142,7 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
}
},
createSecretStorageKey: async () => this._keyInfo,
keyBackupInfo: this.state.backupInfo,
});
this.setState({
phase: PHASE_DONE,