forked from mystiq/hydrogen-web
loading olm from the worker was broken, reading the wrong global
This commit is contained in:
parent
0e2a22f509
commit
5bd28da4f3
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class MessageHandler {
|
|||
self.window = self;
|
||||
self.document = {};
|
||||
self.importScripts(path);
|
||||
const olm = self.olm_exports;
|
||||
const olm = self.Olm;
|
||||
await olm.init();
|
||||
this._olm = olm;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue