Add support for running dimension in an unfederated environment

This config change follows:

  https://github.com/turt2live/matrix-dimension/blob/master/docs/unfederated.md
This commit is contained in:
Chris van Dijk
2020-04-18 19:00:20 +02:00
parent c13c29f48e
commit 3ddb8cd148
2 changed files with 6 additions and 2 deletions

View File

@ -226,7 +226,11 @@ listeners:
x_forwarded: true
resources:
- names: [client]
- names:
- client
{% if matrix_dimension_enabled and not matrix_synapse_federation_enabled %}
- openid
{% endif %}
compress: false
{% if matrix_synapse_federation_enabled %}