mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-10 23:10:10 -04:00
Fix a bug where the joined hosts for a given event were not being properly cached (#14125)
This commit is contained in:
parent
e6e876b9b1
commit
b6baa46db0
3 changed files with 54 additions and 48 deletions
|
@ -414,7 +414,9 @@ class FederationEventHandler:
|
|||
|
||||
# First, precalculate the joined hosts so that the federation sender doesn't
|
||||
# need to.
|
||||
await self._event_creation_handler.cache_joined_hosts_for_event(event, context)
|
||||
await self._event_creation_handler.cache_joined_hosts_for_events(
|
||||
[(event, context)]
|
||||
)
|
||||
|
||||
await self._check_for_soft_fail(event, context=context, origin=origin)
|
||||
await self._run_push_actions_and_persist_event(event, context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue