Only delete push actions after 30 days

This commit is contained in:
David Baker 2016-05-20 15:25:12 +01:00
parent 60ff2e7984
commit 149fa411e2
2 changed files with 38 additions and 6 deletions

View file

@ -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,