summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-20 15:02:01 +0000
committerErik Johnston <erik@matrix.org>2017-02-20 15:02:01 +0000
commit17673404fbb1ca7b84efe7ca12955754bf366b09 (patch)
treee83e4e972782369db6349383d6ca220e3fef5e10 /synapse
parentFix /context/ visibiltiy rules (diff)
downloadsynapse-17673404fbb1ca7b84efe7ca12955754bf366b09.tar.xz
Remove unused param
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/room.py2
-rw-r--r--synapse/rest/client/v1/room.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 73bc73a45e..99cb7db0db 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -356,7 +356,7 @@ class RoomCreationHandler(BaseHandler):
 
 class RoomContextHandler(BaseHandler):
     @defer.inlineCallbacks
-    def get_event_context(self, user, room_id, event_id, limit, is_guest):
+    def get_event_context(self, user, room_id, event_id, limit):
         """Retrieves events, pagination tokens and state around a given event
         in a room.
 
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index 728e3df0e3..90242a6bac 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -505,7 +505,6 @@ class RoomEventContext(ClientV1RestServlet):
             room_id,
             event_id,
             limit,
-            requester.is_guest,
         )
 
         if not results: