Merge pull request #2511 from igogold/patch-1

Allow configure default country code in element welcome page.
This commit is contained in:
Slavi Pantaleev 2023-02-22 15:55:31 +02:00 committed by GitHub
commit d04132759b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 23 deletions

View File

@ -191,6 +191,9 @@ matrix_client_element_self_check_validate_certificates: true
# don't show the registration button on welcome page
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
matrix_client_element_enable_presence_by_hs_url: ~

View File

@ -12,6 +12,7 @@
"custom_themes": {{ matrix_client_element_settingDefaults_custom_themes | 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 }},
"disable_custom_urls": {{ matrix_client_element_disable_custom_urls | to_json }},
"disable_guests": {{ matrix_client_element_disable_guests | to_json }},