Fix typo in room versions 1 through 5

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-01-25 12:54:11 +01:00
parent 9e0f2aad94
commit 20e493cba7
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ The rules are as follows:
does not match the `sender` domain of the create event, reject.
4. If type is `m.room.aliases`:
1. If event has no `state_key`, reject.
2. If sender's domain doesn't matches `state_key`, reject.
2. If sender's domain doesn't match `state_key`, reject.
3. Otherwise, allow.
5. If type is `m.room.member`:
1. If there is no `state_key` property, or no `membership` property in

View file

@ -47,7 +47,7 @@ The complete list of rules, as of room version 3, is as follows:
does not match the `sender` domain of the create event, reject.
4. If type is `m.room.aliases`:
1. If event has no `state_key`, reject.
2. If sender's domain doesn't matches `state_key`, reject.
2. If sender's domain doesn't match `state_key`, reject.
3. Otherwise, allow.
5. If type is `m.room.member`:
1. If there is no `state_key` property, or no `membership` property in