diff options
author | Erik Johnston <erikj@jki.re> | 2018-07-23 15:14:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-23 15:14:39 +0100 |
commit | 9c294ea864e630d9accc1009be8817e94d1be4d8 (patch) | |
tree | e53ae887887d0e1aecea4a867714ae57144c1929 /synapse/storage/events.py | |
parent | Merge pull request #3577 from matrix-org/erikj/cleanup_context (diff) | |
parent | Update docstrings to make sense (diff) | |
download | synapse-9c294ea864e630d9accc1009be8817e94d1be4d8.tar.xz |
Merge pull request #3579 from matrix-org/erikj/stateless_contexts_4
Add concept of StatelessContext, take 4.
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 4ff0fdc4ab..bf4f3ee92a 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -549,7 +549,7 @@ class EventsStore(EventsWorkerStore): if ctx.state_group in state_groups_map: continue - state_groups_map[ctx.state_group] = ctx.current_state_ids + state_groups_map[ctx.state_group] = yield ctx.get_current_state_ids(self) # We need to map the event_ids to their state groups. First, let's # check if the event is one we're persisting, in which case we can |