瀏覽代碼

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

Fix regex in matrix_appservice_webhooks_registration_yaml
pull/350/head
Slavi Pantaleev 6 年之前
committed by GitHub
父節點
當前提交
6576dc820a
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      roles/matrix-bridge-appservice-webhooks/defaults/main.yml

+ 1
- 1
roles/matrix-bridge-appservice-webhooks/defaults/main.yml 查看文件

@@ -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…
取消
儲存