2020-07-17 10:31:20 +02:00
|
|
|
{
|
|
|
|
"default_server_config": {
|
|
|
|
"m.homeserver": {
|
2023-02-22 15:54:14 +02:00
|
|
|
"base_url": {{ matrix_client_element_default_hs_url | string | to_json }},
|
|
|
|
"server_name": {{ matrix_client_element_default_server_name | string | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
},
|
|
|
|
"m.identity_server": {
|
2023-02-22 15:54:14 +02:00
|
|
|
"base_url": {{ matrix_client_element_default_is_url | string | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
}
|
|
|
|
},
|
2023-08-10 14:53:02 +02:00
|
|
|
"setting_defaults": {
|
|
|
|
"custom_themes": {{ matrix_client_element_setting_defaults_custom_themes | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
},
|
2023-02-22 15:54:14 +02:00
|
|
|
"default_theme": {{ matrix_client_element_default_theme | string | to_json }},
|
|
|
|
"default_country_code": {{ matrix_client_element_default_country_code | string | to_json }},
|
2023-08-10 14:48:22 +02:00
|
|
|
"permalink_prefix": {{ matrix_client_element_permalink_prefix | string | to_json }},
|
2023-02-22 15:54:14 +02:00
|
|
|
"disable_custom_urls": {{ matrix_client_element_disable_custom_urls | to_json }},
|
|
|
|
"disable_guests": {{ matrix_client_element_disable_guests | to_json }},
|
|
|
|
"brand": {{ matrix_client_element_brand | to_json }},
|
|
|
|
"integrations_ui_url": {{ matrix_client_element_integrations_ui_url | string | to_json }},
|
|
|
|
"integrations_rest_url": {{ matrix_client_element_integrations_rest_url | string | to_json }},
|
|
|
|
"integrations_widgets_urls": {{ matrix_client_element_integrations_widgets_urls | to_json }},
|
|
|
|
"integrations_jitsi_widget_url": {{ matrix_client_element_integrations_jitsi_widget_url | string | to_json }},
|
|
|
|
"bug_report_endpoint_url": {{ matrix_client_element_bug_report_endpoint_url | to_json }},
|
2023-08-10 14:47:29 +02:00
|
|
|
"show_labs_settings": {{ matrix_client_element_show_lab_settings | to_json }},
|
2023-08-10 14:49:48 +02:00
|
|
|
"room_directory": {
|
|
|
|
"servers": {{ matrix_client_element_room_directory_servers | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
},
|
2023-08-10 14:50:09 +02:00
|
|
|
"welcome_user_id": {{ matrix_client_element_welcome_user_id | to_json }},
|
2020-07-17 10:31:20 +02:00
|
|
|
{% if matrix_client_element_enable_presence_by_hs_url is not none %}
|
2023-02-22 15:54:14 +02:00
|
|
|
"enable_presence_by_hs_url": {{ matrix_client_element_enable_presence_by_hs_url | to_json }},
|
2020-07-17 10:31:20 +02:00
|
|
|
{% endif %}
|
2023-08-10 14:50:27 +02:00
|
|
|
"embedded_pages": {
|
2023-02-22 15:54:14 +02:00
|
|
|
"homeUrl": {{ matrix_client_element_embedded_pages_home_url | string | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
},
|
2023-08-10 14:57:29 +02:00
|
|
|
{% if matrix_client_element_jitsi_preferred_domain %}
|
2020-07-17 10:31:20 +02:00
|
|
|
"jitsi": {
|
2023-08-10 14:57:29 +02:00
|
|
|
"preferred_domain": {{ matrix_client_element_jitsi_preferred_domain | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
},
|
2022-11-18 15:07:53 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if matrix_client_element_location_sharing_enabled %}
|
|
|
|
"map_style_url": "https://{{ matrix_server_fqn_element }}/map_style.json",
|
2020-07-17 10:31:20 +02:00
|
|
|
{% endif %}
|
|
|
|
"branding": {
|
2023-08-10 14:54:48 +02:00
|
|
|
"auth_footer_links": {{ matrix_client_element_branding_auth_footer_links | to_json }},
|
2023-08-10 14:55:44 +02:00
|
|
|
"auth_header_logo_url": {{ matrix_client_element_branding_auth_header_logo_url | to_json }},
|
2023-08-10 14:56:38 +02:00
|
|
|
"welcome_background_url": {{ matrix_client_element_branding_welcome_background_url | to_json }}
|
2020-07-17 10:31:20 +02:00
|
|
|
}
|
|
|
|
}
|