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 ddacabe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/utils/createMatrixClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export default function createMatrixClient(opts: ICreateClientOpts): MatrixClien
dbName: "riot-web-sync",
localStorage,
workerFactory: () => new IndexedDBWorker(),
userId: opts.userId,
});
} else if (localStorage) {
storeOpts.store = new MemoryStore({ localStorage });
Expand Down

0 comments on commit ddacabe

Please sign in to comment.