mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-09 23:12:02 -03:30
Make matrix_synapse_admin_config_asManagedUsers_auto respect matrix_mautrix_telegram_username_template
Related to: - 83165d77faa80c2e17e7fc29bd853028fdd473ed - https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1493 - d166a90514b3e737f4526b097835a1d042dbceb9 Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4550
This commit is contained in:
parent
46a416e678
commit
39efe79417
@ -5231,7 +5231,7 @@ matrix_synapse_admin_config_asManagedUsers_auto: |
|
||||
+
|
||||
([
|
||||
'^@'+(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 [])
|
||||
+
|
||||
([
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user