File tree 4 files changed +4
-6
lines changed
changelogs/room_versions/newsfragments 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change
1
+ For room versions 7 through 10: Clarify that `invite->knock` is actually a legal transition.
Original file line number Diff line number Diff line change @@ -118,8 +118,7 @@ The rules are as follows:
118
118
7 . If ` membership ` is ` knock ` :
119
119
1 . If the ` join_rule ` is anything other than ` knock ` , reject.
120
120
2 . If ` sender ` does not match ` state_key ` , reject.
121
- 3 . If the ` sender ` 's current membership is not ` ban ` , ` invite ` ,
122
- or ` join ` , allow.
121
+ 3 . If the ` sender ` 's current membership is not ` ban ` or ` join ` , allow.
123
122
4 . Otherwise, reject.
124
123
8 . Otherwise, the membership is unknown. Reject.
125
124
5 . If the ` sender ` 's current membership state is not ` join ` , reject.
Original file line number Diff line number Diff line change @@ -193,8 +193,7 @@ The rules are as follows:
193
193
If the ` join_rule ` is anything other than ` knock ` or
194
194
` knock_restricted ` , reject.
195
195
2 . If ` sender ` does not match ` state_key ` , reject.
196
- 3 . If the ` sender ` 's current membership is not ` ban ` , ` invite ` ,
197
- or ` join ` , allow.
196
+ 3 . If the ` sender ` 's current membership is not ` ban ` or ` join ` , allow.
198
197
4 . Otherwise, reject.
199
198
8 . Otherwise, the membership is unknown. Reject.
200
199
5 . If the ` sender ` 's current membership state is not ` join ` , reject.
Original file line number Diff line number Diff line change @@ -135,8 +135,7 @@ The rules are as follows:
135
135
6 . If ` membership ` is ` knock ` :
136
136
1 . If the ` join_rule ` is anything other than ` knock ` , reject.
137
137
2 . If ` sender ` does not match ` state_key ` , reject.
138
- 3 . If the ` sender ` 's current membership is not ` ban ` , ` invite ` ,
139
- or ` join ` , allow.
138
+ 3 . If the ` sender ` 's current membership is not ` ban ` or ` join ` , allow.
140
139
4 . Otherwise, reject.
141
140
7 . Otherwise, the membership is unknown. Reject.
142
141
5 . If the ` sender ` 's current membership state is not ` join ` , reject.
You can’t perform that action at this time.
0 commit comments