Skip to content
Snippets Groups Projects
Verified Commit 5c92f503 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Use to_json, not shell quoting

parent 6c5a35b1
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ federation_metrics_domains:
# Auto-join new users to rooms
auto_join_rooms:
{% for room in vault_matrix_secrets.auto_join_rooms %}
- {{ room | quote }}
- {{ room | to_json }}
{% endfor %}
autocreate_auto_join_rooms: false
auto_join_mxid_localpart: mjolnir
......
......@@ -164,7 +164,7 @@ protections:
# - https://regexone.com/
words:
{% for word in vault_matrix_secrets.mjolnir_badwords %}
- {{ word | quote }}
- {{ word | to_json }}
{% endfor %}
# For how long (in minutes) the user is "new" to the WordList plugin.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment