From 1789ea2083ff390852077f2db3d8d4948c4986af Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Mon, 29 Jun 2026 19:06:29 +0300 Subject: [PATCH] mautrix-telegram: stop flagging matrix_mautrix_telegram_scheme as a removed variable The bridgev2 (Go) rewrite removed matrix_mautrix_telegram_scheme (the old Python bridge's public web-login endpoint scheme) and added a deprecation check for it. We later reintroduced a variable of the same name to configure the bridge's HTTP API exposure address, but the deprecation entry remained. Because the check matches any defined variable (via ansible.builtin.varnames), not just user-set ones, it tripped for every install with the Telegram bridge enabled, even when the user never set it. Drop the deprecation entry, since the variable is a current one again. The related (still removed) matrix_mautrix_telegram_hostname and matrix_mautrix_telegram_path_prefix entries are kept. Closes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5368 Regression since d2252db4fed41129dc99389b1c905c4144a58772 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../matrix-bridge-mautrix-telegram/tasks/validate_config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/custom/matrix-bridge-mautrix-telegram/tasks/validate_config.yml b/roles/custom/matrix-bridge-mautrix-telegram/tasks/validate_config.yml index bea8cea7c..bc3c8f30b 100644 --- a/roles/custom/matrix-bridge-mautrix-telegram/tasks/validate_config.yml +++ b/roles/custom/matrix-bridge-mautrix-telegram/tasks/validate_config.yml @@ -30,7 +30,7 @@ - {'old': 'matrix_mautrix_telegram_container_repo_version', 'new': 'matrix_mautrix_telegram_container_image_self_build_branch'} # Variables removed in the bridgev2 (Go) rewrite — mautrix-telegram no longer has a Python runtime, # a separate lottieconverter container or a web-based login endpoint. - - {'old': 'matrix_mautrix_telegram_scheme', 'new': ''} + # (matrix_mautrix_telegram_scheme was part of this group too, but has since been reintroduced to configure the bridge's HTTP API exposure address, so it's intentionally not listed here.) - {'old': 'matrix_mautrix_telegram_hostname', 'new': ''} - {'old': 'matrix_mautrix_telegram_path_prefix', 'new': ''} - {'old': 'matrix_mautrix_telegram_public_endpoint', 'new': ''}