This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
The limit
set for a filter in a room's StateFilter
is ignored
#7306
Labels
A-Spec-Compliance
places where synapse does not conform to the spec
A-Sync
defects related to /sync
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
I'm using the below filter in a
sync
:Please note that both room
state
andtimeline
limits are set to 10. In the resulting JSON I see my limit applied in timeline events (alsolimited: true
), but not in room state events (one room injoin
has 4000+ events listed). According to the client-server API docs alimit
clause should apply toStateFilter
Steps to reproduce
sync
withoutsince
room.state.limit = 10
The limit should apply in e.g.
rooms.join.<roomId>.state.events
, but it doesn't seem to do so.mozilla.modular.im
If not matrix.org:
Version:
{"server_version": "1.12.3", "python_version": "3.7.7"}
Install method:
The text was updated successfully, but these errors were encountered: