Remove redundant checkKey parameter (#8559)

This commit is contained in:
Michael Telatynski 2022-05-11 11:10:50 +01:00 committed by GitHub
parent ac46e6319b
commit 39262215cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -100,7 +100,7 @@ export class SetupEncryptionStore extends EventEmitter {
public async fetchKeyInfo(): Promise<void> {
const cli = MatrixClientPeg.get();
const keys = await cli.isSecretStored('m.cross_signing.master', false);
const keys = await cli.isSecretStored('m.cross_signing.master');
if (keys === null || Object.keys(keys).length === 0) {
this.keyId = null;
this.keyInfo = null;