matrix/roles/synapse/defaults/main/homeserver.api.yml

32 lines
1.3 KiB
YAML

---
synapse_config_macaroon_secret_key: ~
synapse_config_form_secret: ~
synapse_config_use_appservice_legacy_authorization: false
synapse_config_track_appservice_user_ips: false
synapse_config_track_puppeted_user_ips: false
synapse_config_app_service_config_files: []
synapse_config_room_prejoin_state_disable_default_event_types: false
synapse_config_room_prejoin_state_additional_event_types: []
synapse_base_api_config:
app_service_config_files: "{{ synapse_config_app_service_config_files }}"
use_appservice_legacy_authorization: >-
{{ synapse_config_use_appservice_legacy_authorization }}
track_appservice_user_ips: >-
{{ synapse_config_track_appservice_user_ips }}
track_puppeted_user_ips: >-
{{ synapse_config_track_puppeted_user_ips }}
room_prejoin_state:
disable_default_event_types: >-2
{{ synapse_config_room_prejoin_state_disable_default_event_types }}
additional_event_types: >-2
{{ synapse_config_room_prejoin_state_additional_event_types }}
synapse_api_config: >-2
{{
synapse_base_api_config
| combine(({"macaroon_secret_key": synapse_config_macaroon_secret_key})
if synapse_config_macaroon_secret_key | default(false, true) else {})
| combine(({"form_secret": synapse_config_form_secret})
if synapse_config_form_secret | default(false, true) else {})
}}