diff options
author | Shay <hillerys@element.io> | 2023-03-07 13:54:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 13:54:39 -0800 |
commit | a368d30c1cfe7457fca4fcdd03ae481ba65a226c (patch) | |
tree | 9b7e69974604f0d7f73ef88617bfbfe8e1d8db33 /synapse/events/snapshot.py | |
parent | Stabilize support for MSC3873: disambuguated event push keys. (#15190) (diff) | |
download | synapse-a368d30c1cfe7457fca4fcdd03ae481ba65a226c.tar.xz |
More speedups/fixes to creating batched events (#15195)
Diffstat (limited to 'synapse/events/snapshot.py')
-rw-r--r-- | synapse/events/snapshot.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/events/snapshot.py b/synapse/events/snapshot.py index a91a5d1e3c..c04ad08cbb 100644 --- a/synapse/events/snapshot.py +++ b/synapse/events/snapshot.py @@ -293,6 +293,7 @@ class EventContext(UnpersistedEventContextBase): Maps a (type, state_key) to the event ID of the state event matching this tuple. """ + assert self.state_group_before_event is not None return await self._storage.state.get_state_ids_for_group( self.state_group_before_event, state_filter |