mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-09 09:42:11 -04:00
Fix a bug where redactions were not being sent over federation if we did not have the original event. (#13813)
This commit is contained in:
parent
6a92944854
commit
a86b2f6837
6 changed files with 62 additions and 38 deletions
|
@ -109,10 +109,13 @@ class ApplicationServicesHandler:
|
|||
last_token = await self.store.get_appservice_last_pos()
|
||||
(
|
||||
upper_bound,
|
||||
events,
|
||||
event_to_received_ts,
|
||||
) = await self.store.get_all_new_events_stream(
|
||||
last_token, self.current_max, limit=100, get_prev_content=True
|
||||
) = await self.store.get_all_new_event_ids_stream(
|
||||
last_token, self.current_max, limit=100
|
||||
)
|
||||
|
||||
events = await self.store.get_events_as_list(
|
||||
event_to_received_ts.keys(), get_prev_content=True
|
||||
)
|
||||
|
||||
events_by_room: Dict[str, List[EventBase]] = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue