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,