summary refs log tree commit diff
path: root/synapse/storage/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-10 11:09:56 +0000
committerErik Johnston <erik@matrix.org>2016-02-10 11:09:56 +0000
commit02147452396c67e7874b201460f8b1cc8996a90a (patch)
tree11e4f5f8e687d01d4f251fdea7dffff0be430d5c /synapse/storage/events.py
parentAtomically persit push actions when we persist the event (diff)
downloadsynapse-02147452396c67e7874b201460f8b1cc8996a90a.tar.xz
Rename functions
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r--synapse/storage/events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 7d4012c414..3a5c6ee4b1 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -221,12 +221,12 @@ class EventsStore(SQLBaseStore):
                 )
 
             if context.push_actions:
-                self._set_push_actions_for_event_and_users(
+                self._set_push_actions_for_event_and_users_txn(
                     txn, event, context.push_actions
                 )
 
         if event.type == EventTypes.Redaction and event.redacts is not None:
-            self._remove_push_actions_for_event_id(
+            self._remove_push_actions_for_event_id_txn(
                 txn, event.room_id, event.redacts
             )