Make the indexeddb worker script work again

Removed in 939f6d0798
This commit is contained in:
David Baker 2017-06-21 14:04:43 +01:00
parent 529e014739
commit a62f6d1094

View file

@ -1,5 +1,6 @@
/* /*
Copyright 2015, 2016 OpenMarket Ltd Copyright 2015, 2016 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. you may not use this file except in compliance with the License.
@ -127,7 +128,7 @@ class MatrixClientPeg {
timelineSupport: true, timelineSupport: true,
}; };
this.matrixClient = createMatrixClient(opts); this.matrixClient = createMatrixClient(opts, this.indexedDbWorkerScript);
// we're going to add eventlisteners for each matrix event tile, so the // we're going to add eventlisteners for each matrix event tile, so the
// potential number of event listeners is quite high. // potential number of event listeners is quite high.