infra/roles/matrix-element/templates/element-config.json.j2

57 lines
1.7 KiB
Django/Jinja

{
"default_server_config": {
"m.homeserver": {
"base_url": "https://{{ matrix_url }}",
"server_name": "{{ matrix_domain }}"
},
"m.identity_server": {
"base_url": "https://matrix.org"
}
},
"disable_custom_urls": false,
"disable_guests": false,
"disable_login_language_selector": false,
"disable_3pid_login": false,
"brand": "Element",
"integrations_ui_url": "https://scalar.vector.im/",
"integrations_rest_url": "https://scalar.vector.im/api",
"integrations_widgets_urls": [
"https://scalar.vector.im/_matrix/integrations/v1",
"https://scalar.vector.im/api",
"https://scalar-staging.vector.im/_matrix/integrations/v1",
"https://scalar-staging.vector.im/api",
"https://scalar-staging.riot.im/scalar/api"
],
"bug_report_endpoint_url": "https://element.io/bugreports/submit",
"defaultCountryCode": "GB",
"showLabsSettings": true,
"features": {
"feature_new_spinner": false,
"feature_thread": true
},
"default_federate": true,
"default_theme": "dark",
"roomDirectory": {
"servers": [
"{{ matrix_domain }}",
"matrix.org"
]
},
"piwik": {
"url": "https://piwik.riot.im/",
"whitelistedHSUrls": ["https://matrix.org"],
"whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
"siteId": 1
},
"enable_presence_by_hs_url": {
"https://matrix.org": false,
"https://matrix-client.matrix.org": false
},
"settingDefaults": {
"breadcrumbs": true
},
"jitsi": {
"preferredDomain": "jitsi.riot.im"
}
}