mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-13 09:30:42 -05:00
Set the limit on the returned events in the timeline in the get and sync
operations. The default value is -1, means no upper limit.
For example, using `filter_timeline_limit: 5000`:
POST /_matrix/client/r0/user/user:id/filter
{
room: {
timeline: {
limit: 1000000000000000000
}
}
}
GET /_matrix/client/r0/user/user:id/filter/filter:id
{
room: {
timeline: {
limit: 5000
}
}
}
The server cuts down the room.timeline.limit.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _base.py | ||
| account.py | ||
| account_data.py | ||
| auth.py | ||
| devices.py | ||
| filter.py | ||
| keys.py | ||
| notifications.py | ||
| openid.py | ||
| read_marker.py | ||
| receipts.py | ||
| register.py | ||
| report_event.py | ||
| sendtodevice.py | ||
| sync.py | ||
| tags.py | ||
| thirdparty.py | ||
| tokenrefresh.py | ||