mirror of https://github.com/vector-im/riot-web
Merge pull request #4431 from matrix-org/dbkr/fix_key_backup_stored_debug
Fix key backup debug panelpull/21833/head
commit
3d99125ced
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue