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