summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorDavid Teller <D.O.Teller@gmail.com>2021-02-08 15:53:44 +0100
committerGitHub <noreply@github.com>2021-02-08 15:53:44 +0100
commitb0b2cac0578a500922a17cf88131bc9f46ad9c39 (patch)
tree0256a010eaf2e057122667eb63b8e2c3296fff23 /synapse/rest/client/v1
parentUpdate type hints for Cursor to match PEP 249. (#9299) (diff)
parentFIXUP: linter (diff)
downloadsynapse-b0b2cac0578a500922a17cf88131bc9f46ad9c39.tar.xz
Merge pull request #9150 from Yoric/develop-context
New API /_synapse/admin/rooms/{roomId}/context/{eventId}
Diffstat (limited to 'synapse/rest/client/v1')
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index f95627ee61..90fd98c53e 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -650,7 +650,7 @@ class RoomEventContextServlet(RestServlet):
             event_filter = None
 
         results = await self.room_context_handler.get_event_context(
-            requester.user, room_id, event_id, limit, event_filter
+            requester, room_id, event_id, limit, event_filter
         )
 
         if not results: