From af48e92d735a1f4d76aedd75460c8adbe1c882ad Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 16 Sep 2024 08:43:42 +0200 Subject: Sync optimisation changes --- LibMatrix/Responses/SyncResponse.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'LibMatrix/Responses') diff --git a/LibMatrix/Responses/SyncResponse.cs b/LibMatrix/Responses/SyncResponse.cs index 9b4ce05..a4391b7 100644 --- a/LibMatrix/Responses/SyncResponse.cs +++ b/LibMatrix/Responses/SyncResponse.cs @@ -90,7 +90,7 @@ public class SyncResponse { [JsonPropertyName("summary")] public SummaryDataStructure? Summary { get; set; } - public class TimelineDataStructure { + public class TimelineDataStructure : EventList { public TimelineDataStructure() { } public TimelineDataStructure(List? events, bool? limited) { @@ -98,8 +98,8 @@ public class SyncResponse { Limited = limited; } - [JsonPropertyName("events")] - public List? Events { get; set; } + // [JsonPropertyName("events")] + // public List? Events { get; set; } [JsonPropertyName("prev_batch")] public string? PrevBatch { get; set; } -- cgit 1.5.1