Merge pull request #343 from lxp/fix-registration-regex

Fix regex in matrix_appservice_webhooks_registration_yaml
This commit is contained in:
Slavi Pantaleev 2020-01-16 09:47:03 +02:00 committed by GitHub
commit 6576dc820a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -94,7 +94,7 @@ matrix_appservice_webhooks_registration_yaml: |
namespaces:
users:
- exclusive: true
regex: '@{{ matrix_appservice_webhooks_user_prefix }}*:{{ matrix_domain }}'
regex: '^@{{ matrix_appservice_webhooks_user_prefix | regex_escape }}.*:{{ matrix_domain | regex_escape }}$'
aliases: []
rooms: []
url: "{{ matrix_appservice_webhooks_appservice_url }}:{{ matrix_appservice_webhooks_matrix_port }}"