pull/21833/head
David Baker 2019-05-15 14:00:37 +01:00
parent da1bff1c5d
commit fc636c6cb9
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ export function trackStores(client) {
* has been wiped by the browser: this flag is saved to localStorage
* and if it is true and not crypto data is found, an error is
* presented to the user.
*
* @param {bool} cryptoInited True if crypto has been set up
*/
export function setCryptoInitialised(cryptoInited) {
localStorage.setItem("mx_crypto_initialised", cryptoInited);