mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
add bind to match settings
This commit is contained in:
parent
a25dcb70a2
commit
f151a35cda
1 changed files with 7 additions and 7 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue