mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 07:28:55 +03:00
It doesn't want a dict
This commit is contained in:
parent
b3b1961496
commit
bf8cdda2f5
1 changed files with 0 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue