mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Fix couple of federation state bugs
This commit is contained in:
parent
5d6bad1b3c
commit
e6153e1bd1
2 changed files with 5 additions and 3 deletions
|
@ -596,7 +596,7 @@ class FederationHandler(BaseHandler):
|
|||
preserve_fn(self.state_handler.resolve_state_groups)(room_id, [e])
|
||||
for e in event_ids
|
||||
]))
|
||||
states = dict(zip(event_ids, [s[1] for s in states]))
|
||||
states = dict(zip(event_ids, [s.state for s in states]))
|
||||
|
||||
state_map = yield self.store.get_events(
|
||||
[e_id for ids in states.values() for e_id in ids],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue