mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-07 00:16:57 +00:00
By default limit /publicRooms to 100 entries
This commit is contained in:
parent
211786ecd6
commit
1d98cf26be
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue