Pass the key backup into the right thing
parent
6851ad04b6
commit
48b166f451
|
@ -122,7 +122,6 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
|
||||||
this.setState({
|
this.setState({
|
||||||
phase: PHASE_STORING,
|
phase: PHASE_STORING,
|
||||||
error: null,
|
error: null,
|
||||||
keyBackupInfo: this.state.backupInfo,
|
|
||||||
});
|
});
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
try {
|
try {
|
||||||
|
@ -143,6 +142,7 @@ export default class CreateSecretStorageDialog extends React.PureComponent {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
createSecretStorageKey: async () => this._keyInfo,
|
createSecretStorageKey: async () => this._keyInfo,
|
||||||
|
keyBackupInfo: this.state.backupInfo,
|
||||||
});
|
});
|
||||||
this.setState({
|
this.setState({
|
||||||
phase: PHASE_DONE,
|
phase: PHASE_DONE,
|
||||||
|
|
Loading…
Reference in New Issue