Correct default values for mautrix whatsapp relaybot variables

This commit is contained in:
James Collier 2023-01-05 21:05:32 +01:00
parent 18ed7aba84
commit 0607da1750
No known key found for this signature in database
GPG Key ID: CFC9885797777FFA

View File

@ -396,9 +396,9 @@ bridge:
relay: relay:
# Whether relay mode should be allowed. If allowed, `!wa set-relay` can be used to turn any # Whether relay mode should be allowed. If allowed, `!wa set-relay` can be used to turn any
# authenticated user into a relaybot for that chat. # authenticated user into a relaybot for that chat.
enabled: {{ matrix_mautrix_whatsapp_relaybot_enabled }} enabled: {{ matrix_mautrix_whatsapp_relaybot_enabled | default(false) }}
# Should only admins be allowed to set themselves as relay users? # Should only admins be allowed to set themselves as relay users?
admin_only: {{ matrix_mautrix_whatsapp_relaybot_admin_only }} admin_only: {{ matrix_mautrix_whatsapp_relaybot_admin_only | default(true) }}
# The formats to use when sending messages to WhatsApp via the relaybot. # The formats to use when sending messages to WhatsApp via the relaybot.
message_formats: message_formats:
m.text: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: {{ '{{ .Message }}' }}" m.text: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: {{ '{{ .Message }}' }}"