Fix typo in room versions 1 through 5 (#2066)

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2025-01-25 13:09:49 +01:00 committed by GitHub
parent 9e0f2aad94
commit cabe846d23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 2 deletions

View file

@ -0,0 +1 @@
Fix various typos throughout the specification.

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