Przeglądaj źródła

Correct default values for mautrix whatsapp relaybot variables

pull/2381/head
James Collier 3 lat temu
rodzic
commit
0607da1750
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: CFC9885797777FFA
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      roles/custom/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2

+ 2
- 2
roles/custom/matrix-bridge-mautrix-whatsapp/templates/config.yaml.j2 Wyświetl plik

@@ -396,9 +396,9 @@ bridge:
relay:
# 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.
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?
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.
message_formats:
m.text: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: {{ '{{ .Message }}' }}"


Ładowanie…
Anuluj
Zapisz