Allow configure default country code in element welcome page.

This commit is contained in:
Igor Goldenberg 2023-02-22 18:04:13 +05:00
parent 41a5b2dca2
commit 620247673e
2 changed files with 4 additions and 0 deletions

View file

@ -191,6 +191,9 @@ matrix_client_element_self_check_validate_certificates: true
# don't show the registration button on welcome page # don't show the registration button on welcome page
matrix_client_element_registration_enabled: false matrix_client_element_registration_enabled: false
# Default country code on welcome page when login by phone number
matrix_client_element_default_country_code: "GB"
# Controls whether presence will be enabled # Controls whether presence will be enabled
matrix_client_element_enable_presence_by_hs_url: ~ matrix_client_element_enable_presence_by_hs_url: ~

View file

@ -12,6 +12,7 @@
"custom_themes": {{ matrix_client_element_settingDefaults_custom_themes|to_json }} "custom_themes": {{ matrix_client_element_settingDefaults_custom_themes|to_json }}
}, },
"default_theme": {{ matrix_client_element_default_theme | string|to_json }}, "default_theme": {{ matrix_client_element_default_theme | string|to_json }},
"default_country_code": {{ matrix_client_element_default_country_code | string|to_json }},
"permalinkPrefix": {{ matrix_client_element_permalinkPrefix | string|to_json }}, "permalinkPrefix": {{ matrix_client_element_permalinkPrefix | string|to_json }},
"disable_custom_urls": {{ matrix_client_element_disable_custom_urls|to_json }}, "disable_custom_urls": {{ matrix_client_element_disable_custom_urls|to_json }},
"disable_guests": {{ matrix_client_element_disable_guests|to_json }}, "disable_guests": {{ matrix_client_element_disable_guests|to_json }},