From 464e64ab099afd0fd55efefc20845a0f967cc9cb Mon Sep 17 00:00:00 2001
From: Sorunome <mail@sorunome.de>
Date: Tue, 4 Jun 2019 18:18:43 +0200
Subject: [PATCH] remove old config values

---
 config/config.sample.yaml | 2 --
 src/discordas.ts          | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/config/config.sample.yaml b/config/config.sample.yaml
index 10f6d2f..c39b881 100644
--- a/config/config.sample.yaml
+++ b/config/config.sample.yaml
@@ -48,8 +48,6 @@ logging:
       enable:
         - "DiscordBot"
 database:
-  userStorePath: "user-store.db"
-  roomStorePath: "room-store.db"
   # You may either use SQLite or Postgresql for the bridge database, which contains
   # important mappings for events and user puppeting configurations.
   # Use the filename option for SQLite, or connString for Postgresql.
diff --git a/src/discordas.ts b/src/discordas.ts
index 0f4b5e1..d3e6214 100644
--- a/src/discordas.ts
+++ b/src/discordas.ts
@@ -141,9 +141,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) {
-- 
GitLab