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() {
|
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 New Issue