aboutsummaryrefslogtreecommitdiff
path: root/syncapi/sync/request.go
diff options
context:
space:
mode:
Diffstat (limited to 'syncapi/sync/request.go')
-rw-r--r--syncapi/sync/request.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/syncapi/sync/request.go b/syncapi/sync/request.go
index 620dfdcd..e5e5fdb5 100644
--- a/syncapi/sync/request.go
+++ b/syncapi/sync/request.go
@@ -79,7 +79,6 @@ func newSyncRequest(req *http.Request, device userapi.Device, syncDB storage.Dat
// for the rest of the data to trickle down.
filter.AccountData.Limit = math.MaxInt32
filter.Room.AccountData.Limit = math.MaxInt32
- filter.Room.State.Limit = math.MaxInt32
}
logger := util.GetLogger(req.Context()).WithFields(logrus.Fields{