element-web camelCase renaming (roomDirectory -> room_directory)

This commit is contained in:
Slavi Pantaleev 2023-08-10 15:49:48 +03:00
parent c800af1bb6
commit bb90a59bbb
3 changed files with 4 additions and 3 deletions

View File

@ -153,7 +153,7 @@ matrix_client_element_permalink_prefix: "https://matrix.to" # noqa var-naming
matrix_client_element_bug_report_endpoint_url: "https://element.io/bugreports/submit"
matrix_client_element_show_lab_settings: true # noqa var-naming
# Element public room directory server(s)
matrix_client_element_roomdir_servers: ['matrix.org']
matrix_client_element_room_directory_servers: ['matrix.org']
matrix_client_element_welcome_user_id: ~
# Branding of Element
matrix_client_element_brand: "Element"

View File

@ -36,6 +36,7 @@
with_items:
- {'old': 'matrix_client_element_showLabsSettings', 'new': 'matrix_client_element_show_lab_settings'}
- {'old': 'matrix_client_element_permalinkPrefix', 'new': 'matrix_client_element_permalink_prefix'}
- {'old': 'matrix_client_element_roomdir_servers', 'new': 'matrix_client_element_room_directory_servers'}
- when: matrix_client_element_container_labels_traefik_enabled | bool
block:

View File

@ -23,8 +23,8 @@
"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 }},
"show_labs_settings": {{ matrix_client_element_show_lab_settings | to_json }},
"roomDirectory": {
"servers": {{ matrix_client_element_roomdir_servers | to_json }}
"room_directory": {
"servers": {{ matrix_client_element_room_directory_servers | to_json }}
},
"welcomeUserId": {{ matrix_client_element_welcome_user_id | to_json }},
{% if matrix_client_element_enable_presence_by_hs_url is not none %}