mirror of https://github.com/vector-im/riot-web
parent
c4d39eebe7
commit
f4ae3855d0
|
@ -48,9 +48,6 @@ export default function createMatrixClient(opts) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (indexedDB && localStorage) {
|
if (indexedDB && localStorage) {
|
||||||
// FIXME: bodge to remove old database. Remove this after a few weeks.
|
|
||||||
indexedDB.deleteDatabase("matrix-js-sdk:default");
|
|
||||||
|
|
||||||
storeOpts.store = new Matrix.IndexedDBStore({
|
storeOpts.store = new Matrix.IndexedDBStore({
|
||||||
indexedDB: indexedDB,
|
indexedDB: indexedDB,
|
||||||
dbName: "riot-web-sync",
|
dbName: "riot-web-sync",
|
||||||
|
|
Loading…
Reference in New Issue