summary refs log tree commit diff
path: root/synapse/streams/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/streams/config.py')
-rw-r--r--synapse/streams/config.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/streams/config.py b/synapse/streams/config.py
index eeafe889de..9fee5bfb92 100644
--- a/synapse/streams/config.py
+++ b/synapse/streams/config.py
@@ -75,9 +75,6 @@ class PaginationConfig:
             raise SynapseError(400, "'to' parameter is invalid")
 
         limit = parse_integer(request, "limit", default=default_limit)
-        if limit < 0:
-            raise SynapseError(400, "Limit must be 0 or above")
-
         limit = min(limit, MAX_LIMIT)
 
         try: