mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-15 07:13:43 +01:00
Use a value that is Go 1.16-friendly
This commit is contained in:
parent
b527e33c16
commit
6c5c6d73d7
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ func newSyncRequest(req *http.Request, device userapi.Device, syncDB storage.Dat
|
||||||
// Send as much account data down for complete syncs as possible
|
// Send as much account data down for complete syncs as possible
|
||||||
// by default, otherwise clients do weird things while waiting
|
// by default, otherwise clients do weird things while waiting
|
||||||
// for the rest of the data to trickle down.
|
// for the rest of the data to trickle down.
|
||||||
filter.AccountData.Limit = math.MaxInt
|
filter.AccountData.Limit = math.MaxInt32
|
||||||
filter.Room.AccountData.Limit = math.MaxInt
|
filter.Room.AccountData.Limit = math.MaxInt32
|
||||||
}
|
}
|
||||||
filterQuery := req.URL.Query().Get("filter")
|
filterQuery := req.URL.Query().Get("filter")
|
||||||
if filterQuery != "" {
|
if filterQuery != "" {
|
||||||
|
|
Loading…
Reference in a new issue