aboutsummaryrefslogtreecommitdiff
path: root/syncapi/routing/context.go
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-11-02 09:34:19 +0000
committerGitHub <noreply@github.com>2022-11-02 09:34:19 +0000
commit3db9e98456b3580f230035c186dc4216f2043908 (patch)
tree594ee26ba39531d1428e09a955d338a5183a3d29 /syncapi/routing/context.go
parent8a1904ffe593b888954ba85a42fd869095163d27 (diff)
Don't limit `"state"` (#2849)
This is apparently some incorrect behaviour that we built as a result of a spec bug (matrix-org/matrix-spec#1314) where we were applying a filter to the `"state"` section of the `/sync` response incorrectly. The client then has no way to know that the state was limited. This PR removes the state limiting, which probably also helps #2842.
Diffstat (limited to 'syncapi/routing/context.go')
-rw-r--r--syncapi/routing/context.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/syncapi/routing/context.go b/syncapi/routing/context.go
index 0ed164c7..095a868c 100644
--- a/syncapi/routing/context.go
+++ b/syncapi/routing/context.go
@@ -93,7 +93,6 @@ func Context(
}
stateFilter := gomatrixserverlib.StateFilter{
- Limit: 100,
NotSenders: filter.NotSenders,
NotTypes: filter.NotTypes,
Senders: filter.Senders,