From b50033ba4af5fbd2c8addd174b6eabcde768ccc7 Mon Sep 17 00:00:00 2001 From: gnuxie Date: Wed, 12 Mar 2025 18:29:05 +0000 Subject: [PATCH] Fix manual launch script for changed room backing store interface. --- test/integration/manualLaunchScript.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/integration/manualLaunchScript.ts b/test/integration/manualLaunchScript.ts index f94a373d..2f412a9e 100644 --- a/test/integration/manualLaunchScript.ts +++ b/test/integration/manualLaunchScript.ts @@ -15,14 +15,13 @@ import { draupnirClient, makeBotModeToggle } from "./mjolnirSetupUtils"; import { configRead } from "../../src/config"; import { SqliteRoomStateBackingStore } from "../../src/backingstore/better-sqlite3/SqliteRoomStateBackingStore"; -import path from "path"; import { DefaultEventDecoder } from "matrix-protection-suite"; void (async () => { const config = configRead(); const toggle = await makeBotModeToggle(config, { - backingStore: new SqliteRoomStateBackingStore( - path.join(config.dataPath, "room-state-backing-store.db"), + backingStore: SqliteRoomStateBackingStore.create( + config.dataPath, DefaultEventDecoder ), allowSafeMode: true,