1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00

js-sdk now handles recovery key formatting

This commit is contained in:
David Baker
2018-10-03 12:02:50 +01:00
parent 56808077d0
commit 849f0f796a

View File

@@ -66,7 +66,7 @@ export default React.createClass({
});
try {
const recoverInfo = await MatrixClientPeg.get().restoreKeyBackups(
this.state.recoveryKey.replace(/ /g, ''), undefined, undefined, this.state.backupInfo.version,
this.state.recoveryKey, undefined, undefined, this.state.backupInfo.version,
);
this.setState({
loading: false,