Skip to content

Commit

Permalink
Re-add knock's otherwise, reject per MSC2403
Browse files Browse the repository at this point in the history
Fixes #3648
  • Loading branch information
turt2live committed Jan 19, 2022
1 parent fff5f87 commit ba9c31a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/rooms/fragments/v8-auth-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ The rules are as follows:
2. If `sender` does not match `state_key`, reject.
3. If the `sender`'s current membership is not `ban`, `invite`,
or `join`, allow.
4. Otherwise, reject.
8. Otherwise, the membership is unknown. Reject.
5. If the `sender`'s current membership state is not `join`, reject.
6. If type is `m.room.third_party_invite`:
Expand Down
1 change: 1 addition & 0 deletions content/rooms/v7.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ The rules are as follows:
2. If `sender` does not match `state_key`, reject.
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.
6. If type is `m.room.third_party_invite`:
Expand Down

0 comments on commit ba9c31a

Please sign in to comment.