mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Fix bug where we /always/ created a new state group
This commit is contained in:
parent
ed8b7d400c
commit
5ff0bfb81d
3 changed files with 41 additions and 30 deletions
|
@ -448,8 +448,9 @@ class FederationHandler(BaseHandler):
|
|||
)
|
||||
|
||||
if state_groups:
|
||||
_, state = state_groups.items().pop()
|
||||
results = {
|
||||
(e.type, e.state_key): e for e in state_groups[0].state
|
||||
(e.type, e.state_key): e for e in state
|
||||
}
|
||||
|
||||
event = yield self.store.get_event(event_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue