Update for rename of worker

This commit is contained in:
David Baker 2017-04-07 11:23:14 +01:00
parent f187a359e6
commit 515b57ba12
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ limitations under the License.
// However, this still pulls in all of the js-sdk and we only use a tiny fraction
// of it. It also causes an Olm error to appear because we don't have an Olm in scope.
// Instead, we do this:
import IndexedDbStoreWorker from 'matrix-js-sdk/lib/store/indexeddb-remote-worker';
import IndexedDBStoreWorker from 'matrix-js-sdk/lib/store/indexeddb-store-worker';
const remoteWorker = new IndexedDbStoreWorker(postMessage);
const remoteWorker = new IndexedDBStoreWorker(postMessage);
onmessage = remoteWorker.onMessage;