Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Revert "Pass userId to IndexedDBStore"
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
  • Loading branch information
Mikhail Aheichyk committed Sep 18, 2023
1 parent 9c0c19d commit beed6d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/createMatrixClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ export default function createMatrixClient(opts: ICreateClientOpts): MatrixClien
indexedDB: indexedDB,
dbName: "riot-web-sync",
localStorage,
workerFactory: () => new IndexedDBWorker(),
userId: opts.userId,
workerFactory: () => new IndexedDBWorker()
});
} else if (localStorage) {
storeOpts.store = new MemoryStore({ localStorage });
Expand Down

0 comments on commit beed6d2

Please sign in to comment.