mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 14:04:10 +01:00
Clarify wording of auth rule 1.1
what exactly is a "previous event"
This commit is contained in:
parent
d3d4afdbfd
commit
6fb950ab6d
|
|
@ -19,7 +19,7 @@ the default power level for users in the room.
|
||||||
The rules are as follows:
|
The rules are as follows:
|
||||||
|
|
||||||
1. If type is `m.room.create`:
|
1. If type is `m.room.create`:
|
||||||
1. If it has any previous events, reject.
|
1. If it has any `prev_events`, reject.
|
||||||
2. If the domain of the `room_id` does not match the domain of the
|
2. If the domain of the `room_id` does not match the domain of the
|
||||||
`sender`, reject.
|
`sender`, reject.
|
||||||
3. If `content.room_version` is present and is not a recognised
|
3. If `content.room_version` is present and is not a recognised
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ the default power level for users in the room.
|
||||||
The complete list of rules, as of room version 3, is as follows:
|
The complete list of rules, as of room version 3, is as follows:
|
||||||
|
|
||||||
1. If type is `m.room.create`:
|
1. If type is `m.room.create`:
|
||||||
1. If it has any previous events, reject.
|
1. If it has any `prev_events`, reject.
|
||||||
2. If the domain of the `room_id` does not match the domain of the
|
2. If the domain of the `room_id` does not match the domain of the
|
||||||
`sender`, reject.
|
`sender`, reject.
|
||||||
3. If `content.room_version` is present and is not a recognised
|
3. If `content.room_version` is present and is not a recognised
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,7 @@ the default power level for users in the room.
|
||||||
The rules are as follows:
|
The rules are as follows:
|
||||||
|
|
||||||
1. If type is `m.room.create`:
|
1. If type is `m.room.create`:
|
||||||
1. If it has any previous events, reject.
|
1. If it has any `prev_events`, reject.
|
||||||
2. If the domain of the `room_id` does not match the domain of the
|
2. If the domain of the `room_id` does not match the domain of the
|
||||||
`sender`, reject.
|
`sender`, reject.
|
||||||
3. If `content.room_version` is present and is not a recognised
|
3. If `content.room_version` is present and is not a recognised
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ the default power level for users in the room.
|
||||||
The rules are as follows:
|
The rules are as follows:
|
||||||
|
|
||||||
1. If type is `m.room.create`:
|
1. If type is `m.room.create`:
|
||||||
1. If it has any previous events, reject.
|
1. If it has any `prev_events`, reject.
|
||||||
2. If the domain of the `room_id` does not match the domain of the
|
2. If the domain of the `room_id` does not match the domain of the
|
||||||
`sender`, reject.
|
`sender`, reject.
|
||||||
3. If `content.room_version` is present and is not a recognised
|
3. If `content.room_version` is present and is not a recognised
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ the default power level for users in the room.
|
||||||
The rules are as follows:
|
The rules are as follows:
|
||||||
|
|
||||||
1. If type is `m.room.create`:
|
1. If type is `m.room.create`:
|
||||||
1. If it has any previous events, reject.
|
1. If it has any `prev_events`, reject.
|
||||||
2. If the domain of the `room_id` does not match the domain of the
|
2. If the domain of the `room_id` does not match the domain of the
|
||||||
`sender`, reject.
|
`sender`, reject.
|
||||||
3. If `content.room_version` is present and is not a recognised
|
3. If `content.room_version` is present and is not a recognised
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ the default power level for users in the room.
|
||||||
The rules are as follows:
|
The rules are as follows:
|
||||||
|
|
||||||
1. If type is `m.room.create`:
|
1. If type is `m.room.create`:
|
||||||
1. If it has any previous events, reject.
|
1. If it has any `prev_events`, reject.
|
||||||
2. If the domain of the `room_id` does not match the domain of the
|
2. If the domain of the `room_id` does not match the domain of the
|
||||||
`sender`, reject.
|
`sender`, reject.
|
||||||
3. If `content.room_version` is present and is not a recognised
|
3. If `content.room_version` is present and is not a recognised
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue