From d5d3e766599522923a18253c29de831e3e9518f9 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Tue, 13 Jun 2023 13:26:50 +0530 Subject: [PATCH] Change comment style --- src/matrix/ssss/SecretFetcher.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/matrix/ssss/SecretFetcher.ts b/src/matrix/ssss/SecretFetcher.ts index 46caf705..2ee425a6 100644 --- a/src/matrix/ssss/SecretFetcher.ts +++ b/src/matrix/ssss/SecretFetcher.ts @@ -26,13 +26,14 @@ export class SecretFetcher { public secretSharing: SecretSharing; async getSecret(name: string): Promise { - ; return await this.secretStorage?.readSecret(name) ?? await this.secretSharing?.getLocallyStoredSecret(name); - // note that we don't ask another device for secret here - // that should be done explicitly since it can take arbitrary - // amounts of time to be fulfilled as the other devices may - // be offline etc... + /** + * Note that we don't ask another device for secret here; + * that should be done explicitly since it can take arbitrary + * amounts of time to be fulfilled as the other devices may + * be offline etc... + */ } setSecretStorage(storage: SecretStorage) {