Add variable to disable homeserver url preview

This commit is contained in:
Sylvia van Os
2019-04-30 11:55:31 +02:00
parent 5be1d50b3a
commit bf77f776a2
2 changed files with 6 additions and 2 deletions

View File

@ -525,7 +525,7 @@ max_upload_size: "{{ matrix_synapse_max_upload_size_mb }}M"
# an explicit url_preview_ip_range_blacklist of IPs that the spider is
# denied from accessing.
#
url_preview_enabled: true
url_preview_enabled: {{ matrix_synapse_url_preview_enabled|to_json }}
# List of IP address CIDR ranges that the URL preview spider is denied
# from accessing. There are no defaults: you must explicitly
@ -1169,4 +1169,4 @@ alias_creation_rules: {{ matrix_alias_creation_rules|to_json }}
# room_id: "*"
# action: allow
room_list_publication_rules: {{ matrix_room_list_publication_rules|to_json }}
room_list_publication_rules: {{ matrix_room_list_publication_rules|to_json }}