Merge pull request #1132 from matrix-org/dbkr/put_indexeddb_worker_back

Make the indexeddb worker script work again
This commit is contained in:
David Baker 2017-06-21 14:42:01 +01:00 committed by GitHub
commit a7ca8ae4fb

View file

@ -1,5 +1,6 @@
/*
Copyright 2015, 2016 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -129,7 +130,7 @@ class MatrixClientPeg {
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
// potential number of event listeners is quite high.