You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
lint
This commit is contained in:
@@ -35,7 +35,9 @@ export default class SecretStorage extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getDefaultKeyId() {
|
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;
|
if (!defaultKeyEvent) return null;
|
||||||
return defaultKeyEvent.getContent().key;
|
return defaultKeyEvent.getContent().key;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user