From 238db7b5f82fbac382aec85a0625a265e44924b1 Mon Sep 17 00:00:00 2001 From: Half-Shot <will@half-shot.uk> Date: Thu, 1 Aug 2019 09:42:04 +0100 Subject: [PATCH] Force disable stores --- src/discordas.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/discordas.ts b/src/discordas.ts index 2e989ce..41eb310 100644 --- a/src/discordas.ts +++ b/src/discordas.ts @@ -148,9 +148,6 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) { type: "per_room", }, registration, - // These must be kept for a while yet since we use them for migrations. - roomStore: config.database.roomStorePath, - userStore: config.database.userStorePath, }); if (config.database.roomStorePath) { @@ -163,6 +160,10 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) { + "The config option userStorePath no longer has any use."); } + // Hack to remove roomStore and userStore + bridge.opts.userStore = undefined; + bridge.opts.roomStore = undefined; + await bridge.run(port, config); log.info(`Started listening on port ${port}`); -- GitLab