File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ export class SecretStorage {
7171 // as you don't request any secrets.
7272 // A better solution would probably be to split this class up into secret storage and
7373 // secret sharing which are really two separate things, even though they share an MSC.
74- constructor ( accountDataClient : IAccountDataClient , cryptoCallbacks : ICryptoCallbacks , matrixClient ?: MatrixClient ) {
75- this . accountDataAdapter = accountDataClient ;
76- this . baseApis = matrixClient ;
77- this . cryptoCallbacks = cryptoCallbacks ;
78- }
74+ constructor (
75+ private readonly accountDataClient : IAccountDataClient ,
76+ private readonly cryptoCallbacks : ICryptoCallbacks ,
77+ private readonly matrixClient ?: MatrixClient ,
78+ ) { }
7979
8080 public async getDefaultKeyId ( ) : Promise < string > {
8181 const defaultKey = await this . accountDataAdapter . getAccountDataFromServer (
You can’t perform that action at this time.
0 commit comments