summary refs log tree commit diff
path: root/synapse/rest/client
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-15 13:18:35 +0100
committerErik Johnston <erik@matrix.org>2016-09-15 13:18:35 +0100
commit1d98cf26be4c429a19f29aa371e7781a0dcf2a28 (patch)
tree1b6ffcc93e5af2dbe9b6922f0156db365d3606bc /synapse/rest/client
parentStream public room changes down replication (diff)
downloadsynapse-1d98cf26be4c429a19f29aa371e7781a0dcf2a28.tar.xz
By default limit /publicRooms to 100 entries
Diffstat (limited to 'synapse/rest/client')
-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()