From 515b57ba12c347d5f651a9194bafc84b8595d9cf Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 7 Apr 2017 11:23:14 +0100 Subject: [PATCH] Update for rename of worker --- src/vector/indexedbd-worker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vector/indexedbd-worker.js b/src/vector/indexedbd-worker.js index 6b6e7068..1e5c3206 100644 --- a/src/vector/indexedbd-worker.js +++ b/src/vector/indexedbd-worker.js @@ -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;