summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2024-06-19 10:05:39 +0100
committerGitHub <noreply@github.com>2024-06-19 10:05:39 +0100
commitafaf2d9388f7012d0500932dad0af4bdb8d40d20 (patch)
tree621d39333de8ad990945a1fe5cd40a635bafa03a /synapse/storage
parentRevert "Support MSC3916 by adding a federation `/download` endpoint" (#17325) (diff)
downloadsynapse-afaf2d9388f7012d0500932dad0af4bdb8d40d20.tar.xz
Require the 'from' parameter for `/notifications` be an integer (#17283)
Co-authored-by: Erik Johnston <erikj@element.io>
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/databases/main/event_push_actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/event_push_actions.py b/synapse/storage/databases/main/event_push_actions.py
index bdd0781c48..0ebf5b53d5 100644
--- a/synapse/storage/databases/main/event_push_actions.py
+++ b/synapse/storage/databases/main/event_push_actions.py
@@ -1829,7 +1829,7 @@ class EventPushActionsWorkerStore(ReceiptsWorkerStore, StreamWorkerStore, SQLBas
     async def get_push_actions_for_user(
         self,
         user_id: str,
-        before: Optional[str] = None,
+        before: Optional[int] = None,
         limit: int = 50,
         only_highlight: bool = False,
     ) -> List[UserPushAction]: