1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

Use requestSecret on the client to request secrets

Rather than accessing private method to get the secret storage
object (this was a bit confusing when I grepped for 'requestSecret'
and didn't find anything).
This commit is contained in:
David Baker
2020-03-26 16:01:35 +00:00
parent bdba61975b
commit 7f5ac072e6
2 changed files with 2 additions and 2 deletions

View File

@@ -69,6 +69,7 @@ describe("self-verifications", () => {
_crossSigningInfo,
_secretStorage,
},
requestSecret: _secretStorage.request.bind(_secretStorage),
getUserId: () => userId,
};