Fix key backup debug panel

The type changed so it thought it was not stored when it was
pull/21833/head
David Baker 2020-04-16 21:08:14 +01:00
parent cd73f3736a
commit 9e18dbc0dc
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export default class KeyBackupPanel extends React.PureComponent {
async _checkKeyBackupStatus() {
try {
const {backupInfo, trustInfo} = await MatrixClientPeg.get().checkKeyBackup();
const backupKeyStored = await MatrixClientPeg.get().isKeyBackupKeyStored();
const backupKeyStored = Boolean(await MatrixClientPeg.get().isKeyBackupKeyStored());
this.setState({
backupInfo,
backupSigStatus: trustInfo,