Clarify that invite->knock is not a valid transition (#1717)
This reverts https://github.com/matrix-org/matrix-spec/pull/1175 See https://github.com/matrix-org/matrix-spec/issues/1710
This commit is contained in:
parent
170626da67
commit
c4e69d8cb1
5 changed files with 9 additions and 4 deletions
|
@ -139,7 +139,8 @@ The rules are as follows:
|
|||
If `membership` is `knock`:
|
||||
1. If the `join_rule` is anything other than `knock`, reject.
|
||||
2. If `sender` does not match `state_key`, reject.
|
||||
3. If the `sender`'s current membership is not `ban` or `join`, allow.
|
||||
3. If the `sender`'s current membership is not `ban`, `invite`,
|
||||
or `join`, allow.
|
||||
4. Otherwise, reject.
|
||||
7. Otherwise, the membership is unknown. Reject.
|
||||
5. If the `sender`'s current membership state is not `join`, reject.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue