summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-14 09:29:08 +0100
committerErik Johnston <erik@matrix.org>2015-10-14 09:31:20 +0100
commit858634e1d0ca489bb546851d6ee052d548870b06 (patch)
tree382b0b98d2be2c1350df8dc333a3c72873a297c4 /synapse/handlers/sync.py
parentMerge pull request #303 from matrix-org/markjh/twisted_debugging (diff)
downloadsynapse-858634e1d0ca489bb546851d6ee052d548870b06.tar.xz
Remove unused room_id arg
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),