From e193fa5be5f128a7ee0fb83d877992ce9cfe9013 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 21 Jun 2017 14:04:43 +0100 Subject: [PATCH] Make the indexeddb worker script work again Removed in https://github.com/matrix-org/matrix-react-sdk/commit/939f6d07984cd51241357a5e61bf76bd46179fcf --- src/MatrixClientPeg.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/MatrixClientPeg.js b/src/MatrixClientPeg.js index 03716be2da..307e65e861 100644 --- a/src/MatrixClientPeg.js +++ b/src/MatrixClientPeg.js @@ -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.