Bläddra i källkod

Enable room summary API (MSC3266) support for Synapse to support Element X clients

pull/4154/head
Iruwen 1 år sedan
committed by GitHub
förälder
incheckning
55e47d69db
Ingen känd nyckel hittad för denna signaturen i databasen GPG-nyckel ID: B5690EEEBB952194
2 ändrade filer med 12 tillägg och 0 borttagningar
  1. +9
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  2. +3
    -0
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 9
- 0
roles/custom/matrix-synapse/defaults/main.yml Visa fil

@@ -1252,6 +1252,15 @@ matrix_synapse_experimental_features_msc4108_enabled: false
################################################################################


# Controls whether to enable the "room summary API" experimental feature.
# See https://github.com/matrix-org/matrix-spec-proposals/pull/3266
# Despite being experimental, this feature is mandatory for the next-generation Element X clients, which is why it is enabled by default:
# https://github.com/element-hq/element-x-ios/issues/3713#issuecomment-2620958291
# If you're worried about the privacy implications of this unauthenticated API, see:
# https://github.com/deepbluev7/matrix-doc/blob/room-summaries/proposals/3266-room-summary.md#client-server-api
# Set this to false if you still want to disable to API for some reason. Note that doing so breaks Element X compatibility though.
matrix_synapse_experimental_features_msc3266_enabled: true

# Enable this to activate the REST auth password provider module.
# See: https://github.com/ma1uta/matrix-synapse-rest-password-provider
matrix_synapse_ext_password_provider_rest_auth_enabled: false


+ 3
- 0
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 Visa fil

@@ -2984,5 +2984,8 @@ experimental_features:
{% if matrix_synapse_experimental_features_msc4108_enabled %}
msc4108_enabled: true
{% endif %}
{% if matrix_synapse_experimental_features_msc3266_enabled %}
msc3266_enabled: true
{% endif %}

# vim:ft=yaml

Laddar…
Avbryt
Spara