diff options
author | Erik Johnston <erik@matrix.org> | 2017-02-20 15:02:01 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2017-02-20 16:01:54 +0000 |
commit | 6226a27bf8ff4a427888110dd9d05ea969885003 (patch) | |
tree | 8bb28cc95603ddead1ca6e2a684c8cec4b307f73 /synapse | |
parent | Fix /context/ visibiltiy rules (diff) | |
download | synapse-6226a27bf8ff4a427888110dd9d05ea969885003.tar.xz |
Remove unused param
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/room.py | 2 | ||||
-rw-r--r-- | synapse/rest/client/v1/room.py | 1 |
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 2ebf5e59a0..6554f57df1 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: |