mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-09 14:31:16 +02:00
Pass the key backup into the right thing
This commit is contained in:
parent
6851ad04b6
commit
48b166f451
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user