mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 12:52:24 +03:00
Limit filter to limit/2
for before/after events on /context
(#3332)
Part of https://github.com/matrix-org/dendrite/issues/3224
This commit is contained in:
parent
ecb7b383e9
commit
8f944f6434
2 changed files with 7 additions and 1 deletions
|
@ -1136,7 +1136,7 @@ func testContext(t *testing.T, dbType test.DBType) {
|
|||
},
|
||||
{
|
||||
name: "events are not limited",
|
||||
wantBeforeLength: 7,
|
||||
wantBeforeLength: 5,
|
||||
},
|
||||
{
|
||||
name: "all events are limited",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue