diff options
author | Erik Johnston <erik@matrix.org> | 2015-09-15 16:34:42 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-09-15 16:34:42 +0100 |
commit | 3b05b67c89bacfa729f14ad7c6de80b32d87cc98 (patch) | |
tree | 21d6b34685bd1b61319137fef8e5a1f99a59931f /synapse/storage/events.py | |
parent | Bump version/changelog (diff) | |
download | synapse-3b05b67c89bacfa729f14ad7c6de80b32d87cc98.tar.xz |
When updating a stored event from outlier to non-outlier, remember to update the extremeties
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index e3eabab13d..8774b3b388 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -275,6 +275,8 @@ class EventsStore(SQLBaseStore): (False, event.event_id,) ) + self._update_extremeties(txn, [event]) + events_and_contexts = filter( lambda ec: ec[0] not in to_remove, events_and_contexts |