Pablo Saavedra 9da4316ca5 Configurable maximum number of events requested by /sync and /messages (#2220)
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.
2017-05-13 18:17:54 +02:00
..
2016-01-07 04:26:29 +00:00
2016-11-12 00:10:23 -08:00
2016-06-12 23:11:29 +01:00
2016-01-07 04:26:29 +00:00
2016-01-07 04:26:29 +00:00
2017-04-05 21:01:08 -07:00
2016-04-25 14:30:15 +01:00
2016-05-13 15:34:15 +02:00
2016-01-07 04:26:29 +00:00
2016-07-06 12:18:19 +09:00
2016-01-07 04:26:29 +00:00
2017-02-11 23:02:57 -08:00
2017-03-15 12:40:42 +00:00
2017-04-04 11:17:00 +01:00