1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-04 11:51:45 +03:00
This commit is contained in:
Zoe
2020-02-07 15:46:31 +00:00
parent 8fdae73e03
commit b08c5d8410
3 changed files with 4 additions and 2 deletions

View File

@@ -115,6 +115,7 @@ export const crossSigningCallbacks = {
*
* @param {Function} [func] An operation to perform once secret storage has been
* bootstrapped. Optional.
* @param {bool} [force] Reset secret storage even if it's already set up
*/
export async function accessSecretStorage(func = async () => { }, force = false) {
const cli = MatrixClientPeg.get();