summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/room.py b/synapse/rest/client/v1/room.py
index 924c785358..db0cd4380a 100644
--- a/synapse/rest/client/v1/room.py
+++ b/synapse/rest/client/v1/room.py
@@ -319,7 +319,7 @@ class PublicRoomListRestServlet(ClientV1RestServlet):
             else:
                 pass
 
-        limit = parse_integer(request, "limit", 100)
+        limit = parse_integer(request, "limit", 0)
         since_token = parse_string(request, "since", None)
 
         handler = self.hs.get_room_list_handler()