Skip to content

Commit 21521f0

Browse files
committed
Spell out what the globs should operate on
1 parent 0eee397 commit 21521f0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

proposals/4155-invite-filtering.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ event `m.invite_permission_config` is introduced.
3333
```
3434

3535
All properties in `content` are optional arrays. A missing or `null` property MUST be treated like an
36-
empty array. The array elements are [glob expressions] to be matched against user IDs and server names,
37-
respectively.
36+
empty array. The array elements are [glob expressions]. Any `*_users` glob is to be matched against
37+
full user IDs (localpart and domain). Any `*_servers` glob is to be matched against server names /
38+
domain parts of user IDs.
3839

3940
When evaluating an invite, implementations MUST first apply the existing `m.ignored_user_list` as per
4041
the current spec. If the invite didn't match, implementations MUST then apply `m.invite_permission_config`.

0 commit comments

Comments
 (0)