Skip to content
Extraits de code Groupes Projets
Valider 238db7b5 rédigé par Half-Shot's avatar Half-Shot
Parcourir les fichiers

Force disable stores

parent 7aef5012
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -148,9 +148,6 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) { ...@@ -148,9 +148,6 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) {
type: "per_room", type: "per_room",
}, },
registration, 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) { if (config.database.roomStorePath) {
...@@ -163,6 +160,10 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) { ...@@ -163,6 +160,10 @@ async function run(port: number, fileConfig: DiscordBridgeConfig) {
+ "The config option userStorePath no longer has any use."); + "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); await bridge.run(port, config);
log.info(`Started listening on port ${port}`); log.info(`Started listening on port ${port}`);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter