diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index d32d06eac..f183277e8 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -2547,7 +2547,7 @@ define([ // Use the async store in the main thread if workers are not available require(['/common/outer/noworker.js'], waitFor2(function (NoWorker) { NoWorker.onMessage(function (data) { - msgEv.fire({data: data}); + msgEv.fire({data: data, origin: ''}); }); postMsg = function (d) { setTimeout(function () { NoWorker.query(d); }); }; NoWorker.create(); diff --git a/www/common/outer/noworker.js b/www/common/outer/noworker.js index a1507c2d0..a4a44d1b9 100644 --- a/www/common/outer/noworker.js +++ b/www/common/outer/noworker.js @@ -86,7 +86,7 @@ define([ return { query: function (data) { - msgEv.fire({data: data}); + msgEv.fire({data: data, origin: ''}); }, onMessage: function (cb) { sendMsg.reg(function (data) {