summary refs log tree commit diff
path: root/packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch')
-rw-r--r--packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch21
1 files changed, 18 insertions, 3 deletions
diff --git a/packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch b/packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch

index 56d6fc5..fdd6030 100644 --- a/packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch +++ b/packages/overlays/matrix-synapse/patches/0014-Add-bulk-send-events-endpoint.patch
@@ -1,12 +1,27 @@ -From 4e94a2b4d56f3e6e98378e1f10900ef8ec9af8e6 Mon Sep 17 00:00:00 2001 +From 452f38800dd00b8686543099d6a085f9b4210687 Mon Sep 17 00:00:00 2001 From: Rory& <root@rory.gay> Date: Sat, 26 Jul 2025 09:50:56 +0200 Subject: [PATCH 14/14] Add bulk send events endpoint --- - synapse/rest/client/room.py | 117 +++++++++++++++++++++++++++++++++++- - 1 file changed, 116 insertions(+), 1 deletion(-) + synapse/rest/client/capabilities.py | 3 + + synapse/rest/client/room.py | 117 +++++++++++++++++++++++++++- + 2 files changed, 119 insertions(+), 1 deletion(-) +diff --git a/synapse/rest/client/capabilities.py b/synapse/rest/client/capabilities.py +index 8f3193fb47..7220b75006 100644 +--- a/synapse/rest/client/capabilities.py ++++ b/synapse/rest/client/capabilities.py +@@ -74,6 +74,9 @@ class CapabilitiesRestServlet(RestServlet): + "m.get_login_token": { + "enabled": self.config.auth.login_via_existing_enabled, + }, ++ "gay.rory.bulk_send_events": { ++ "enabled": True ++ } + } + } + diff --git a/synapse/rest/client/room.py b/synapse/rest/client/room.py index f61152c35b..19ba13dd64 100644 --- a/synapse/rest/client/room.py