You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
Pass the key backup into the right thing
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user