Replace domain names on roles/custom/matrix-bot-matrix-reminder-bot/templates/config.yaml.j2

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
This commit is contained in:
Suguru Hirahara 2024-10-17 22:34:57 +09:00
parent d218e93155
commit b2d840482a
No known key found for this signature in database
GPG Key ID: E4F9743DAB4B7B75

View File

@ -39,9 +39,9 @@ allowlist:
enabled: {{ matrix_bot_matrix_reminder_bot_allowlist_enabled | to_json }} enabled: {{ matrix_bot_matrix_reminder_bot_allowlist_enabled | to_json }}
# A list of MXID regexes to be allowed # A list of MXID regexes to be allowed
# To allow a certain homeserver: # To allow a certain homeserver:
# regexes: ["@[a-z0-9-_.]+:myhomeserver.tld"] # regexes: ["@[a-z0-9-_.]+:example.com"]
# To allow a set of users: # To allow a set of users:
# regexes: ["@alice:someserver.tld", "@bob:anotherserver.tld"] # regexes: ["@alice:example.net", "@bob:example.org"]
# To allow nobody (same as blocking every MXID): # To allow nobody (same as blocking every MXID):
# regexes: [] # regexes: []
regexes: {{ matrix_bot_matrix_reminder_bot_allowlist_regexes | to_json }} regexes: {{ matrix_bot_matrix_reminder_bot_allowlist_regexes | to_json }}
@ -53,9 +53,9 @@ blocklist:
enabled: {{ matrix_bot_matrix_reminder_bot_blocklist_enabled | to_json }} enabled: {{ matrix_bot_matrix_reminder_bot_blocklist_enabled | to_json }}
# A list of MXID regexes to be blocked # A list of MXID regexes to be blocked
# To block a certain homeserver: # To block a certain homeserver:
# regexes: [".*:myhomeserver.tld"] # regexes: [".*:example.com"]
# To block a set of users: # To block a set of users:
# regexes: ["@alice:someserver.tld", "@bob:anotherserver.tld"] # regexes: ["@alice:example.net", "@bob:example.org"]
# To block absolutely everyone (same as allowing nobody): # To block absolutely everyone (same as allowing nobody):
# regexes: [".*"] # regexes: [".*"]
regexes: {{ matrix_bot_matrix_reminder_bot_blocklist_regexes | to_json }} regexes: {{ matrix_bot_matrix_reminder_bot_blocklist_regexes | to_json }}