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
namespaces:
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
regex: '^@{{ matrix_mautrix_slack_appservice_bot_username | regex_escape }}:{{ matrix_mautrix_slack_homeserver_domain | regex_escape }}$'