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
..
2024-04-04 13:20:58 +02:00
2024-04-27 00:06:19 +02:00
2024-04-04 13:20:58 +02:00
2024-04-04 13:20:58 +02:00