mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
Fix typo in room versions 1 through 5 (#2066)
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
9e0f2aad94
commit
cabe846d23
|
|
@ -0,0 +1 @@
|
||||||
|
Fix various typos throughout the specification.
|
||||||
|
|
@ -39,7 +39,7 @@ The rules are as follows:
|
||||||
does not match the `sender` domain of the create event, reject.
|
does not match the `sender` domain of the create event, reject.
|
||||||
4. If type is `m.room.aliases`:
|
4. If type is `m.room.aliases`:
|
||||||
1. If event has no `state_key`, reject.
|
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.
|
3. Otherwise, allow.
|
||||||
5. If type is `m.room.member`:
|
5. If type is `m.room.member`:
|
||||||
1. If there is no `state_key` property, or no `membership` property in
|
1. If there is no `state_key` property, or no `membership` property in
|
||||||
|
|
|
||||||
|
|
@ -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.
|
does not match the `sender` domain of the create event, reject.
|
||||||
4. If type is `m.room.aliases`:
|
4. If type is `m.room.aliases`:
|
||||||
1. If event has no `state_key`, reject.
|
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.
|
3. Otherwise, allow.
|
||||||
5. If type is `m.room.member`:
|
5. If type is `m.room.member`:
|
||||||
1. If there is no `state_key` property, or no `membership` property in
|
1. If there is no `state_key` property, or no `membership` property in
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue