浏览代码
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
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有
1 个文件被更改,包括
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 }}" |
|
|
|
|