Sfoglia il codice sorgente

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

Fix regex in matrix_appservice_webhooks_registration_yaml
pull/350/head
Slavi Pantaleev 6 anni fa
committed by GitHub
parent
commit
6576dc820a
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      roles/matrix-bridge-appservice-webhooks/defaults/main.yml

+ 1
- 1
roles/matrix-bridge-appservice-webhooks/defaults/main.yml Vedi 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 }}"


Caricamento…
Annulla
Salva