1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-10-06 21:57:05 +02:00

Make matrix_synapse_admin_config_asManagedUsers_auto respect matrix_mautrix_telegram_username_template

Related to:

- 83165d77fa
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1493
- d166a90514

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4550
This commit is contained in:
Slavi Pantaleev
2025-09-06 07:21:53 +03:00
parent 46a416e678
commit 39efe79417

View File

@@ -5231,7 +5231,7 @@ matrix_synapse_admin_config_asManagedUsers_auto: |
+ +
([ ([
'^@'+(matrix_mautrix_telegram_appservice_bot_username | default('') | regex_escape)+':'+(matrix_domain | regex_escape)+'$', '^@'+(matrix_mautrix_telegram_appservice_bot_username | default('') | regex_escape)+':'+(matrix_domain | regex_escape)+'$',
'^@telegram_[a-zA-Z0-9]+:'+(matrix_domain | regex_escape)+'$', '^@'+(matrix_mautrix_telegram_username_template | regex_escape | replace('{userid}', '.+'))+':'+(matrix_domain | regex_escape)+'$',
] if matrix_mautrix_telegram_enabled else []) ] if matrix_mautrix_telegram_enabled else [])
+ +
([ ([