mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 22:43:10 -06:00
Fix oops
This commit is contained in:
parent
87ab75cbef
commit
83ff77dfe4
|
|
@ -159,7 +159,7 @@ func Context(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Limit is split up for before/after events
|
// Limit is split up for before/after events
|
||||||
if limit > 1 {
|
if filter.Limit > 1 {
|
||||||
filter.Limit = filter.Limit / 2
|
filter.Limit = filter.Limit / 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue