Remove via field.

This commit is contained in:
Patrick Cloke 2021-06-17 14:21:45 -04:00 committed by Richard van der Hoff
parent 066f25fd82
commit e3692edd09

View file

@ -21,13 +21,11 @@ would include the rooms to trust for membership. For example:
"allow": [
{
"type": "m.room_membership",
"room_id": "!mods:example.org",
"via": ["example.org"]
"room_id": "!mods:example.org"
},
{
"type": "m.room_membership",
"room_id": "!users:example.org",
"via": ["example.org"]
"room_id": "!users: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
membership. Future MSCs may define other types.
* `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,
if all entries are invalid, the list behaves as if empty and all users without