mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-29 17:51:56 -06:00
Remove 100 default
This commit is contained in:
parent
82df194858
commit
9a199ba179
|
@ -144,9 +144,6 @@ func spacesHandler(
|
||||||
if resErr := chttputil.UnmarshalJSONRequest(req, &r); resErr != nil {
|
if resErr := chttputil.UnmarshalJSONRequest(req, &r); resErr != nil {
|
||||||
return *resErr
|
return *resErr
|
||||||
}
|
}
|
||||||
if r.Limit > 100 {
|
|
||||||
r.Limit = 100
|
|
||||||
}
|
|
||||||
w := walker{
|
w := walker{
|
||||||
req: &r,
|
req: &r,
|
||||||
rootRoomID: roomID,
|
rootRoomID: roomID,
|
||||||
|
|
Loading…
Reference in a new issue