Browse Source

Fix regex in matrix_appservice_webhooks_registration_yaml

pull/343/head
David Gnedt 6 years ago
parent
commit
73d0bf7170
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/matrix-bridge-appservice-webhooks/defaults/main.yml

+ 1
- 1
roles/matrix-bridge-appservice-webhooks/defaults/main.yml View File

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


Loading…
Cancel
Save