Make join_rules field of PublicRoomChunk an optional value
This commit is contained in:
parent
9ebfd98a7a
commit
a8f4ada8a8
1 changed files with 6 additions and 7 deletions
|
@ -209,15 +209,14 @@ contain this information:
|
|||
}
|
||||
```
|
||||
|
||||
Therefore this proposal adds `join_rule` as a new, required field to a
|
||||
`PublicRoomsChunk`. The `join_rule` of knockable rooms will be `knock`, thus
|
||||
giving clients the information they need to attempt entry of
|
||||
a room when a client selects it. It also allows clients to display
|
||||
Therefore this proposal adds `join_rule` as a new, optional field to a
|
||||
`PublicRoomsChunk`. The `join_rule` of knockable rooms will be `knock`,
|
||||
thus giving clients the information they need to attempt entry of a
|
||||
room when a client selects it. It also allows clients to display
|
||||
knockable rooms differently than publicly joinable ones.
|
||||
|
||||
For backwards compatibility with old servers, if a client does not find a
|
||||
`join_rule` key in a chunk, then it should assume a `join_rule` key with
|
||||
value `public`.
|
||||
For backwards compatibility with old servers, the default value of
|
||||
`join_rule` is `public`.
|
||||
|
||||
### Push Rules
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue