aboutsummaryrefslogtreecommitdiff
path: root/setup/mscs
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2021-02-06 16:56:55 +0000
committerKegan Dougal <kegan@matrix.org>2021-02-06 16:56:55 +0000
commit82df1948588919800866151cde569c726577b0c3 (patch)
treee70671a4098a95907ad15efa65bb57ee8c4abe2e /setup/mscs
parent02e6d89cc2bde930be36323e626ce54643d56a7f (diff)
Increase limit
Diffstat (limited to 'setup/mscs')
-rw-r--r--setup/mscs/msc2946/msc2946.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/setup/mscs/msc2946/msc2946.go b/setup/mscs/msc2946/msc2946.go
index 3580d4d2..694c9732 100644
--- a/setup/mscs/msc2946/msc2946.go
+++ b/setup/mscs/msc2946/msc2946.go
@@ -46,7 +46,7 @@ const (
// Defaults sets the request defaults
func Defaults(r *gomatrixserverlib.MSC2946SpacesRequest) {
- r.Limit = 100
+ r.Limit = 2000
r.MaxRoomsPerSpace = -1
}
@@ -108,9 +108,6 @@ func federatedSpacesHandler(
JSON: jsonerror.BadJSON("The request body could not be decoded into valid JSON. " + err.Error()),
}
}
- if r.Limit > 100 {
- r.Limit = 100
- }
w := walker{
req: &r,
rootRoomID: roomID,