mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 11:41:38 +00: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 New Issue
Block a user