Fix the webworker app

This commit is contained in:
yflory
2017-12-01 18:29:59 +01:00
parent b14228da18
commit e164edec03
7 changed files with 72 additions and 13 deletions

View File

@@ -650,6 +650,9 @@ define([
}
AStore.query("CONNECT", cfg, waitFor(function (data) {
if (data.error) { throw new Error(data.error); }
if (data.state === 'ALREADY_INIT') {
data = data.returned;
}
if (data.anonHash && !cfg.userHash) { LocalStore.setFSHash(data.anonHash); }