Merge pull request #4431 from matrix-org/dbkr/fix_key_backup_stored_debug
Fix key backup debug panel
This commit is contained in:
commit
3d99125ced
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ export default class KeyBackupPanel extends React.PureComponent {
|
||||||
async _checkKeyBackupStatus() {
|
async _checkKeyBackupStatus() {
|
||||||
try {
|
try {
|
||||||
const {backupInfo, trustInfo} = await MatrixClientPeg.get().checkKeyBackup();
|
const {backupInfo, trustInfo} = await MatrixClientPeg.get().checkKeyBackup();
|
||||||
const backupKeyStored = await MatrixClientPeg.get().isKeyBackupKeyStored();
|
const backupKeyStored = Boolean(await MatrixClientPeg.get().isKeyBackupKeyStored());
|
||||||
this.setState({
|
this.setState({
|
||||||
backupInfo,
|
backupInfo,
|
||||||
backupSigStatus: trustInfo,
|
backupSigStatus: trustInfo,
|
||||||
|
|
Loading…
Reference in a new issue