mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 23:49:22 -05:00
It doesn't want a dict
This commit is contained in:
parent
b3b1961496
commit
bf8cdda2f5
@ -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):
|
|||||||
# 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(
|
||||||
|
Loading…
Reference in New Issue
Block a user