mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
We already limit the limit to 100
This commit is contained in:
parent
1537e34179
commit
87ab75cbef
|
|
@ -109,13 +109,8 @@ func Context(
|
|||
}
|
||||
}
|
||||
|
||||
// Default to a sane state filter limit
|
||||
limit := filter.Limit
|
||||
if limit > 100 {
|
||||
limit = 100
|
||||
}
|
||||
stateFilter := synctypes.StateFilter{
|
||||
Limit: limit,
|
||||
Limit: filter.Limit,
|
||||
NotSenders: filter.NotSenders,
|
||||
NotTypes: filter.NotTypes,
|
||||
Senders: filter.Senders,
|
||||
|
|
|
|||
Loading…
Reference in a new issue