summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-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 db0cd4380a..924c785358 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", 0)
+        limit = parse_integer(request, "limit", 100)
         since_token = parse_string(request, "since", None)
 
         handler = self.hs.get_room_list_handler()