mirror of https://github.com/vector-im/riot-web
lint
parent
da1bff1c5d
commit
fc636c6cb9
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue