Benjamin Lee 3f67772dd3 client-api: Don't skip all no-event timelines serializing sync response
There are some cases where a timeline can have zero events but should
still be included in the api response. For example, when calling `/sync`
with a filter that rejects all events after `since`, but does not
necessarily reject all events in the room's history, the response should
include a `prev_batch` field so that the client can search for earlier
events matching the filter using `/messages`.
2024-05-05 03:09:56 -04:00
..
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2022-05-30 17:17:06 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-28 10:23:54 +02:00
2023-08-22 12:31:49 +02:00
2023-08-22 12:31:49 +02:00
2024-04-04 13:20:58 +02:00
2022-11-28 14:02:35 +01:00
2023-08-28 10:23:54 +02:00