summary refs log tree commit diff
path: root/synapse/handlers/federation.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/federation.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/federation.py')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 3882ba79ed..a710bdcfdb 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -242,7 +242,7 @@ class FederationHandler(BaseHandler):
     @defer.inlineCallbacks
     def _filter_events_for_server(self, server_name, room_id, events):
         event_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, None),