From f151a35cda9a2c4bf1d15136f3f7cadb4802d1d9 Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Fri, 6 Jan 2023 19:19:12 +0100 Subject: [PATCH] add bind to match settings --- config_panel.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config_panel.toml b/config_panel.toml index 18290b1..b235240 100644 --- a/config_panel.toml +++ b/config_panel.toml @@ -37,7 +37,7 @@ services = ["__APP__"] ask = "Username of the Appservice Bot" type = "string" help = "Sets bot username. Please keep in mind that the bot admin room for previous bot username will stop working so you may need to create a new one using the new username" - bind = ":__FINALPATH__/config.yaml" + bind = "bot>username:__FINALPATH__/config.yaml" [appservice.bot.displayname] ask = "Display name for Bot" @@ -59,13 +59,13 @@ services = ["__APP__"] type = "boolean" yes = "true" no = "false" - bind = ":__FINALPATH__/config.yaml" + bind = "metrics>enabled:__FINALPATH__/config.yaml" [appservice.metrics.metrics_listen_port] ask = "IP and Port for the Metrics listener?" type = "string" help = "Defaults to: '127.0.0.1:8001'. The path is always /metrics" - bind = ":__FINALPATH__/config.yaml" + bind = "metrics>listen:__FINALPATH__/config.yaml" [whatsapp] name = "WhatsApp" @@ -106,7 +106,7 @@ services = ["__APP__"] yes = "true" no = "false" help = "If allowed, `!wa set-relay` can be used to turn any authenticated user into a RelayBot for that chat." - bind = ":__FINALPATH__/config.yaml" + bind = "relay>enabled:__FINALPATH__/config.yaml" [bridge.config.admin_only] ask = "Should only Bridge Admins be allowed to set themselves as relay users?" @@ -125,7 +125,7 @@ services = ["__APP__"] yes = "true" no = "false" help = "For the Bridge to work in group chat Rooms with End-to-End Encryption (e2ee) enabled." - bind = ":__FINALPATH__/config.yaml" + bind = "encryption>allow:__FINALPATH__/config.yaml" [bridge.portal_rooms.encryption_default] ask = "Force-enable Encryption in all Portal Rooms the Bridge creates?" @@ -133,7 +133,7 @@ services = ["__APP__"] yes = "true" no = "false" help = "This will cause the Bridge Bot to be in private chats for the Encryption to work properly." - bind = ":__FINALPATH__/config.yaml" + bind = "encryption>default:__FINALPATH__/config.yaml" [bridge.portal_rooms.encryption_require] ask = "Require encryption?" @@ -141,7 +141,7 @@ services = ["__APP__"] yes = "true" no = "false" help = "Require encryption, drop any unencrypted messages." - bind = ":__FINALPATH__/config.yaml" + bind = "encryption>require:__FINALPATH__/config.yaml" [usermanagement] name = "Bridge Permissions"