Refine ZTD Branch by removing leftover config values.

This commit is contained in:
Catalan Lover
2026-04-29 15:23:30 +02:00
parent 2be4267bef
commit 79c16d1b9f
5 changed files with 2 additions and 13 deletions
+2 -2
View File
@@ -8,9 +8,9 @@ Add managed management/admin room support to bot mode / appservice mode.
- Add new config options for zero touch provisioning of managed rooms:
\- managedManagementRoom and initialManager for bot mode
\- initialManager for bot mode
\- managedAdminRoom and initialManager for appservice mode
\- initialManager for appservice mode
\- If managed modes are enabled while unmanaged rooms are defined the bot will
crash.
@@ -13,9 +13,6 @@ db:
# See docs/access_control.md
adminRoom: "#draupnir-admin:localhost:9999"
# Enable automatic admin-room recovery/creation on first boot.
managedAdminRoom: false
# The initial manager to invite if the admin room has to be created.
# initialManager: "@admin:example.org"
@@ -8,10 +8,6 @@ db:
adminRoom: "#draupnir-admin:localhost:9999"
managedAdminRoom: false
# initialManager: "@admin:example.org"
# The directory the bot should store various bits of information in
dataPath: "./test/harness/mjolnir-data/"
@@ -82,9 +82,6 @@ export const AppserviceConfig = Type.Object({
},
{ description: "Details for the database backend" }
),
managedAdminRoom: Type.Boolean({
default: false,
}),
initialManager: Type.Optional(StringUserIDSchema),
adminRoom: Type.Optional(
Type.String({
@@ -17,7 +17,6 @@ describe("Managed room bootstrap startup integration", function (this: Mocha.Sui
const testConfigRecord = {
...(config as unknown as Record<string, unknown>),
};
testConfigRecord.managedAdminRoom = true;
testConfigRecord.adminRoom = undefined;
testConfigRecord.initialManager =
(await initialManager.getUserId()) as StringUserID;