summary refs log tree commit diff
path: root/synapse/handlers/federation.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/federation.py
parentPEP8 (diff)
downloadsynapse-927004e34905d4ad6a69576ee1799fe8019d8985.tar.xz
Remove unused room_id parameter
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),