summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-10-17 20:10:34 +0100
committerErik Johnston <erik@matrix.org>2014-10-17 20:10:34 +0100
commitbf8cdda2f598acce5a8694fe6482fc929c53715b (patch)
treef55433d9b89f70067afde1bb8d3d24837ac90a1e
parentFix bug where people could join private rooms (diff)
downloadsynapse-bf8cdda2f598acce5a8694fe6482fc929c53715b.tar.xz
It doesn't want a dict
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 8c80a37164..b575986fc3 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -104,7 +104,6 @@ class FederationHandler(BaseHandler):
 
         if state:
             state = [self.pdu_codec.event_from_pdu(p) for p in state]
-            state = {(e.type, e.state_key): e for e in state}
 
         is_new_state = yield self.state_handler.annotate_state_groups(
             event,
@@ -250,7 +249,6 @@ class FederationHandler(BaseHandler):
             # FIXME: Auth these.
             is_new_state = yield self.state_handler.annotate_state_groups(
                 e,
-                state=state
             )
 
             yield self.store.persist_event(