summary refs log tree commit diff
path: root/synapse/rest/client/v1/room.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-08-02 15:43:30 +0100
committerRichard van der Hoff <richard@matrix.org>2018-08-02 15:43:30 +0100
commit704c3e62399b47970b1d319740e591a6f08366da (patch)
tree5e906af495e6f27ebd7977810dd3979efca7d35a /synapse/rest/client/v1/room.py
parentMerge pull request #3621 from matrix-org/erikj/split_fed_store (diff)
parentMerge tag 'v0.33.1' (diff)
downloadsynapse-704c3e62399b47970b1d319740e591a6f08366da.tar.xz
Merge branch 'master' into develop
Diffstat (limited to 'synapse/rest/client/v1/room.py')
-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 13c331550b..fa5989e74e 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -506,7 +506,7 @@ class RoomEventServlet(ClientV1RestServlet):
     @defer.inlineCallbacks
     def on_GET(self, request, room_id, event_id):
         requester = yield self.auth.get_user_by_req(request)
-        event = yield self.event_handler.get_event(requester.user, event_id)
+        event = yield self.event_handler.get_event(requester.user, room_id, event_id)
 
         time_now = self.clock.time_msec()
         if event: