summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-09-16 09:54:42 +0100
committerErik Johnston <erik@matrix.org>2015-09-16 09:54:42 +0100
commit663b96ae96efe4f7a818152f07ec58c5b4b21456 (patch)
tree0791620f27a10557659fed679e132e2246d1fc05 /synapse/storage/events.py
parentBump change log (diff)
parent"Comments" (diff)
downloadsynapse-663b96ae96efe4f7a818152f07ec58c5b4b21456.tar.xz
Merge branch 'erikj/update_extremeties' into hotfixes-v0.10.0-r2
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py2
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