From ddacabee9957593e1cfb3fccbd9e76ba433b3b8c Mon Sep 17 00:00:00 2001 From: Mikhail Aheichyk Date: Mon, 18 Sep 2023 17:57:29 +0300 Subject: [PATCH] Revert "Pass userId to IndexedDBStore" Signed-off-by: Mikhail Aheichyk --- src/utils/createMatrixClient.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/createMatrixClient.ts b/src/utils/createMatrixClient.ts index 0012e06bb7b..1bcfcba19e1 100644 --- a/src/utils/createMatrixClient.ts +++ b/src/utils/createMatrixClient.ts @@ -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 });