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();