js-sdk now handles recovery key formatting
parent
56808077d0
commit
849f0f796a
|
@ -66,7 +66,7 @@ export default React.createClass({
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
const recoverInfo = await MatrixClientPeg.get().restoreKeyBackups(
|
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({
|
this.setState({
|
||||||
loading: false,
|
loading: false,
|
||||||
|
|
Loading…
Reference in New Issue