From 06ab77fdcc6285e6c7edabd6fc23663ddb1affd8 Mon Sep 17 00:00:00 2001 From: Aine Date: Thu, 21 Aug 2025 10:56:16 +0100 Subject: [PATCH] add element web mobile guide app variant config option --- roles/custom/matrix-client-element/defaults/main.yml | 1 + roles/custom/matrix-client-element/templates/config.json.j2 | 1 + 2 files changed, 2 insertions(+) diff --git a/roles/custom/matrix-client-element/defaults/main.yml b/roles/custom/matrix-client-element/defaults/main.yml index 3dc75c903..f7f0e822d 100644 --- a/roles/custom/matrix-client-element/defaults/main.yml +++ b/roles/custom/matrix-client-element/defaults/main.yml @@ -186,6 +186,7 @@ matrix_client_element_integrations_rest_url: "https://scalar.vector.im/api" matrix_client_element_integrations_widgets_urls: ["https://scalar.vector.im/api"] matrix_client_element_integrations_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html" matrix_client_element_permalink_prefix: "https://matrix.to" # noqa var-naming +matrix_client_element_mobile_guide_app_variant: "element" 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) diff --git a/roles/custom/matrix-client-element/templates/config.json.j2 b/roles/custom/matrix-client-element/templates/config.json.j2 index 7516abe48..4a2ec1c5f 100644 --- a/roles/custom/matrix-client-element/templates/config.json.j2 +++ b/roles/custom/matrix-client-element/templates/config.json.j2 @@ -11,6 +11,7 @@ "setting_defaults": { "custom_themes": {{ matrix_client_element_setting_defaults_custom_themes | to_json }} }, + "mobile_guide_app_variant": {{ matrix_client_element_mobile_guide_app_variant | 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 }}, "permalink_prefix": {{ matrix_client_element_permalink_prefix | string | to_json }},