0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 09:33:57 +01:00

By default limit /publicRooms to 100 entries

This commit is contained in:
Erik Johnston 2016-09-15 13:18:35 +01:00
parent 211786ecd6
commit 1d98cf26be

View file

@ -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()