summary refs log tree commit diff
path: root/synapse/config
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2024-05-24 01:47:37 -0700
committerGitHub <noreply@github.com>2024-05-24 09:47:37 +0100
commit9edb725ebcd41c0ca1ee8cbb833dcb28df47a402 (patch)
tree6565632e64854ab0bd5008e22709a4ea08a553cd /synapse/config
parentAdd Sliding Sync `/sync/e2ee` endpoint for To-Device messages (#17167) (diff)
downloadsynapse-9edb725ebcd41c0ca1ee8cbb833dcb28df47a402.tar.xz
Support MSC3916 by adding unstable media endpoints to `_matrix/client` (#17213)
[MSC3916](https://github.com/matrix-org/matrix-spec-proposals/blob/rav/authentication-for-media/proposals/3916-authentication-for-media.md)
adds new media endpoints under `_matrix/client`. This PR adds the
`/preview_url`, `/config`, and `/thumbnail` endpoints. `/download` will
be added in a follow-up PR once the work for the federation `/download`
endpoint is complete (see
https://github.com/element-hq/synapse/pull/17172).

Should be reviewable commit-by-commit.
Diffstat (limited to 'synapse/config')
-rw-r--r--synapse/config/experimental.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py
index cda7afc5c4..75fe6d7b24 100644
--- a/synapse/config/experimental.py
+++ b/synapse/config/experimental.py
@@ -439,3 +439,7 @@ class ExperimentalConfig(Config):
         self.msc4115_membership_on_events = experimental.get(
             "msc4115_membership_on_events", False
         )
+
+        self.msc3916_authenticated_media_enabled = experimental.get(
+            "msc3916_authenticated_media_enabled", False
+        )