Convert more of js-sdk crypto and fix underscored field accesses

This commit is contained in:
Michael Telatynski 2021-06-23 14:47:24 +01:00
parent 73b7610228
commit a8dfc4488f
4 changed files with 7 additions and 6 deletions

View file

@ -131,7 +131,7 @@ export default class SecureBackupPanel extends React.PureComponent {
async _getUpdatedDiagnostics() {
const cli = MatrixClientPeg.get();
const secretStorage = cli.crypto._secretStorage;
const secretStorage = cli.crypto.secretStorage;
const backupKeyStored = !!(await cli.isKeyBackupKeyStored());
const backupKeyFromCache = await cli.crypto.getSessionBackupPrivateKey();