summary refs log tree commit diff
path: root/synapse/storage/receipts.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-20 15:25:12 +0100
committerDavid Baker <dave@matrix.org>2016-05-20 15:25:12 +0100
commit149fa411e24a30b738094e40f02f18c2b9230cbe (patch)
treef9671a41303f36911f7525c8d67c21452b492b4e /synapse/storage/receipts.py
parentMerge pull request #794 from matrix-org/kegan/join-with-server-name (diff)
downloadsynapse-149fa411e24a30b738094e40f02f18c2b9230cbe.tar.xz
Only delete push actions after 30 days
Diffstat (limited to 'synapse/storage/receipts.py')
-rw-r--r--synapse/storage/receipts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/receipts.py b/synapse/storage/receipts.py
index fdcf28f3e1..f1774f0e44 100644
--- a/synapse/storage/receipts.py
+++ b/synapse/storage/receipts.py
@@ -297,7 +297,7 @@ class ReceiptsStore(SQLBaseStore):
         )
 
         if receipt_type == "m.read" and topological_ordering:
-            self._remove_push_actions_before_txn(
+            self._remove_old_push_actions_before_txn(
                 txn,
                 room_id=room_id,
                 user_id=user_id,