Browse Source

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

Fix regex in matrix_appservice_webhooks_registration_yaml
pull/350/head
Slavi Pantaleev 6 years ago
committed by GitHub
parent
commit
6576dc820a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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:
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 }}"


Loading…
Cancel
Save