diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-15 13:18:35 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-15 13:18:35 +0100 |
commit | 1d98cf26be4c429a19f29aa371e7781a0dcf2a28 (patch) | |
tree | 1b6ffcc93e5af2dbe9b6922f0156db365d3606bc /synapse/rest/client/v1/room.py | |
parent | Stream public room changes down replication (diff) | |
download | synapse-1d98cf26be4c429a19f29aa371e7781a0dcf2a28.tar.xz |
By default limit /publicRooms to 100 entries
Diffstat (limited to 'synapse/rest/client/v1/room.py')
-rw-r--r-- | synapse/rest/client/v1/room.py | 2 |
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() |