mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Use stricter regex in bridges' registration.yaml
I've been thinking of doing before, but haven't.
Now that the Whatsapp bridge does it (since 4797469383
),
it makes sense to do it for all other bridges as well.
(Except for the IRC bridge - that one manages most of registration.yaml by itself)
This commit is contained in:
parent
c876a7df1d
commit
37c8b96d06
@ -171,7 +171,7 @@ matrix_mautrix_facebook_registration_yaml: |
|
|||||||
namespaces:
|
namespaces:
|
||||||
users:
|
users:
|
||||||
- exclusive: true
|
- exclusive: true
|
||||||
regex: '@facebook_.+:{{ matrix_mautrix_facebook_homeserver_domain|regex_escape }}'
|
regex: '^@facebook_.+:{{ matrix_mautrix_facebook_homeserver_domain|regex_escape }}$'
|
||||||
url: {{ matrix_mautrix_facebook_appservice_address }}
|
url: {{ matrix_mautrix_facebook_appservice_address }}
|
||||||
sender_localpart: facebookbot
|
sender_localpart: facebookbot
|
||||||
rate_limited: false
|
rate_limited: false
|
||||||
|
@ -367,10 +367,10 @@ matrix_mautrix_telegram_registration_yaml: |
|
|||||||
namespaces:
|
namespaces:
|
||||||
users:
|
users:
|
||||||
- exclusive: true
|
- exclusive: true
|
||||||
regex: '@telegram_.+:{{ matrix_mautrix_telegram_homeserver_domain|regex_escape }}'
|
regex: '^@telegram_.+:{{ matrix_mautrix_telegram_homeserver_domain|regex_escape }}$'
|
||||||
aliases:
|
aliases:
|
||||||
- exclusive: true
|
- exclusive: true
|
||||||
regex: '#telegram_.+:{{ matrix_mautrix_telegram_homeserver_domain|regex_escape }}'
|
regex: '^#telegram_.+:{{ matrix_mautrix_telegram_homeserver_domain|regex_escape }}$'
|
||||||
url: {{ matrix_mautrix_telegram_appservice_address }}
|
url: {{ matrix_mautrix_telegram_appservice_address }}
|
||||||
sender_localpart: telegrambot
|
sender_localpart: telegrambot
|
||||||
rate_limited: false
|
rate_limited: false
|
||||||
|
Loading…
Reference in New Issue
Block a user