summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-12 15:06:14 +0100
committerErik Johnston <erik@matrix.org>2015-10-12 15:06:14 +0100
commit927004e34905d4ad6a69576ee1799fe8019d8985 (patch)
tree0e3880eacbe720f4bb9374b6665ceaa6e7a84134 /synapse/handlers/sync.py
parentPEP8 (diff)
downloadsynapse-927004e34905d4ad6a69576ee1799fe8019d8985.tar.xz
Remove unused room_id parameter
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 9914ff6f9c..a8940de166 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -312,7 +312,7 @@ class SyncHandler(BaseHandler):
     @defer.inlineCallbacks
     def _filter_events_for_client(self, user_id, room_id, events):
         event_id_to_state = yield self.store.get_state_for_events(
-            room_id, frozenset(e.event_id for e in events),
+            frozenset(e.event_id for e in events),
             types=(
                 (EventTypes.RoomHistoryVisibility, ""),
                 (EventTypes.Member, user_id),