Fix localpart slack id regex for mautrix-slack

This commit is contained in:
Cody Wyatt Neiman 2023-01-02 21:58:52 -05:00
parent e977242022
commit 12b8cb3aab
No known key found for this signature in database
GPG Key ID: 94475C8B94E4698D

View File

@ -124,7 +124,7 @@ matrix_mautrix_slack_registration_yaml: |
rate_limited: false rate_limited: false
namespaces: namespaces:
users: users:
- regex: '^@slack_[0-9]+:{{ matrix_mautrix_slack_homeserver_domain | regex_escape }}$' - regex: '^@slack_[a-z-A-Z0-9\-]+:{{ matrix_mautrix_slack_homeserver_domain | regex_escape }}$'
exclusive: true exclusive: true
- exclusive: true - exclusive: true
regex: '^@{{ matrix_mautrix_slack_appservice_bot_username | regex_escape }}:{{ matrix_mautrix_slack_homeserver_domain | regex_escape }}$' regex: '^@{{ matrix_mautrix_slack_appservice_bot_username | regex_escape }}:{{ matrix_mautrix_slack_homeserver_domain | regex_escape }}$'