diff --git a/src/discordas.ts b/src/discordas.ts
index 2e989ceaab9566e27befd17dda64acb0c52db876..41eb310ceaea24262f11e3a8edd16116458474b4 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}`);