You've already forked matrix-js-sdk
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:
@@ -69,6 +69,7 @@ describe("self-verifications", () => {
|
||||
_crossSigningInfo,
|
||||
_secretStorage,
|
||||
},
|
||||
requestSecret: _secretStorage.request.bind(_secretStorage),
|
||||
getUserId: () => userId,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user