Remove via field.
This commit is contained in:
parent
066f25fd82
commit
e3692edd09
1 changed files with 2 additions and 5 deletions
|
@ -21,13 +21,11 @@ would include the rooms to trust for membership. For example:
|
||||||
"allow": [
|
"allow": [
|
||||||
{
|
{
|
||||||
"type": "m.room_membership",
|
"type": "m.room_membership",
|
||||||
"room_id": "!mods:example.org",
|
"room_id": "!mods:example.org"
|
||||||
"via": ["example.org"]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "m.room_membership",
|
"type": "m.room_membership",
|
||||||
"room_id": "!users:example.org",
|
"room_id": "!users:example.org"
|
||||||
"via": ["example.org"]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"authorised_servers": ["example.org"]
|
"authorised_servers": ["example.org"]
|
||||||
|
@ -46,7 +44,6 @@ following keys:
|
||||||
* `type`: `"m.room_membership"` to describe that we are allowing access via room
|
* `type`: `"m.room_membership"` to describe that we are allowing access via room
|
||||||
membership. Future MSCs may define other types.
|
membership. Future MSCs may define other types.
|
||||||
* `room_id`: The room ID to check the membership of.
|
* `room_id`: The room ID to check the membership of.
|
||||||
* `via`: A list of servers which may be used to peek for membership of the room.
|
|
||||||
|
|
||||||
Any entries in the list which do not match the expected format are ignored. Thus,
|
Any entries in the list which do not match the expected format are ignored. Thus,
|
||||||
if all entries are invalid, the list behaves as if empty and all users without
|
if all entries are invalid, the list behaves as if empty and all users without
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue