Support room dir 3rd party network filtering
As per https://github.com/matrix-org/synapse/pull/1676 The existing local config system still exists and is used for remote home server directories (since /thirdparty/protocols doesn't support listing remote home servers, and also because people are using it).
This commit is contained in:
parent
2740013625
commit
f5bd8abfda
3 changed files with 93 additions and 7 deletions
|
@ -89,7 +89,8 @@ You can configure the app by copying `config.sample.json` to
|
|||
down list. Optional.
|
||||
1. `roomDirectory.serverConfig`: Config for each server in `roomDirectory.servers`. Optional.
|
||||
1. `roomDirectory.serverConfig.<server_name>.networks`: List of networks (named
|
||||
in `roomDirectory.networks`) to include for this server. Optional.
|
||||
in `roomDirectory.networks`) to include for this server. Optional. If set, this will
|
||||
override any networks sent by the Home Server (eg. if ASes are configured).
|
||||
1. `roomDirectory.networks`: config for each network type. Optional.
|
||||
1. `roomDirectory.<network_type>.name`: Human-readable name for the network. Required.
|
||||
1. `roomDirectory.<network_type>.protocol`: Protocol as given by the server in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue