Skip to content

Commit

Permalink
Start inserting metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
realtyem committed Sep 25, 2023
1 parent c7819e6 commit 6785879
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions synapse/storage/databases/main/events_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1471,6 +1471,8 @@ async def _fetch_event_ids_and_get_outstanding_redactions(
await self._get_event_cache.set((event_id,), cache_entry)
result_map[event_id] = cache_entry

self.add_to_event_metadata(event_id, cache_entry)

if not redacted_event:
# We only cache references to unredacted events.
self._event_ref[event_id] = original_ev
Expand Down

0 comments on commit 6785879

Please sign in to comment.