By default limit /publicRooms to 100 entries

pull/4/merge
Erik Johnston 8 years ago
parent 211786ecd6
commit 1d98cf26be
  1. 2
      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()

Loading…
Cancel
Save