Move async store in a webworker!

This commit is contained in:
yflory
2018-05-31 18:22:16 +02:00
parent 8586d0c944
commit b9f5a0f52b
5 changed files with 215 additions and 27 deletions

View File

@@ -699,6 +699,9 @@ define([
readOnly: readOnly,
crypto: Crypto.createEncryptor(secret.keys),
onConnect: function () {
var href = parsed.getUrl();
// Add friends requests handlers when we have the final href
Cryptpad.messaging.addHandlers(href);
if (window.location.hash && window.location.hash !== '#') {
window.location = parsed.getUrl({
present: parsed.hashData.present,