mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-09 22:59:24 -05:00
Optimise state resolution
This commit is contained in:
parent
beda469bc6
commit
5d6bad1b3c
7 changed files with 230 additions and 73 deletions
|
|
@ -1530,7 +1530,7 @@ class FederationHandler(BaseHandler):
|
|||
(d.type, d.state_key): d for d in different_events if d
|
||||
})
|
||||
|
||||
new_state, prev_state = self.state_handler.resolve_events(
|
||||
new_state = self.state_handler.resolve_events(
|
||||
[local_view.values(), remote_view.values()],
|
||||
event
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue