diff --git a/src/crypto/Secrets.js b/src/crypto/Secrets.js index 8d45caaa3..41aace510 100644 --- a/src/crypto/Secrets.js +++ b/src/crypto/Secrets.js @@ -35,7 +35,9 @@ export default class SecretStorage extends EventEmitter { } getDefaultKeyId() { - const defaultKeyEvent = this._baseApis.getAccountData('m.secret_storage.default_key'); + const defaultKeyEvent = this._baseApis.getAccountData( + 'm.secret_storage.default_key', + ); if (!defaultKeyEvent) return null; return defaultKeyEvent.getContent().key; }