mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-12-10 12:01:26 -05:00
Prefill forward extrems and event to state groups
This commit is contained in:
parent
d800ab2847
commit
5946aa0877
2 changed files with 13 additions and 2 deletions
|
|
@ -403,6 +403,11 @@ class EventsStore(SQLBaseStore):
|
|||
(room_id, ), new_state
|
||||
)
|
||||
|
||||
for room_id, latest_event_ids in new_forward_extremeties.iteritems():
|
||||
self.get_latest_event_ids_in_room.prefill(
|
||||
(room_id,), latest_event_ids
|
||||
)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def _calculate_new_extremeties(self, room_id, event_contexts, latest_event_ids):
|
||||
"""Calculates the new forward extremeties for a room given events to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue