summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-05-14 16:59:21 +0100
committerErik Johnston <erik@matrix.org>2019-05-15 13:36:51 +0100
commitefe3c7977a3dc9c4308388f71e82b837df7d09b4 (patch)
tree10abb32d069c16dd00224f59dbcd11e185475328 /synapse/storage/events.py
parentMerge branch 'erikj/refactor_pagination_bounds' into erikj/reactions_base (diff)
downloadsynapse-efe3c7977a3dc9c4308388f71e82b837df7d09b4.tar.xz
Add simple send_relation API and track in DB
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 7a7f841c6c..6802bf42ce 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -1351,6 +1351,8 @@ class EventsStore(
                 # Insert into the event_search table.
                 self._store_guest_access_txn(txn, event)
 
+            self._handle_event_relations(txn, event)
+
         # Insert into the room_memberships table.
         self._store_room_members_txn(
             txn,