Skip to content
Snippets Groups Projects
Commit bf8cdda2 authored by Erik Johnston's avatar Erik Johnston
Browse files

It doesn't want a dict

parent b3b19614
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,6 @@ class FederationHandler(BaseHandler): ...@@ -104,7 +104,6 @@ class FederationHandler(BaseHandler):
if state: if state:
state = [self.pdu_codec.event_from_pdu(p) for p in 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( is_new_state = yield self.state_handler.annotate_state_groups(
event, event,
...@@ -250,7 +249,6 @@ class FederationHandler(BaseHandler): ...@@ -250,7 +249,6 @@ class FederationHandler(BaseHandler):
# FIXME: Auth these. # FIXME: Auth these.
is_new_state = yield self.state_handler.annotate_state_groups( is_new_state = yield self.state_handler.annotate_state_groups(
e, e,
state=state
) )
yield self.store.persist_event( yield self.store.persist_event(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment