about summary refs log tree commit diff
path: root/LibMatrix/Responses
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-09-16 08:43:42 +0200
committerRory& <root@rory.gay>2024-12-15 02:35:05 +0100
commitaf48e92d735a1f4d76aedd75460c8adbe1c882ad (patch)
tree2902a029ce82773137451e7b96268a17a418017a /LibMatrix/Responses
parentmeow (diff)
downloadLibMatrix-af48e92d735a1f4d76aedd75460c8adbe1c882ad.tar.xz
Sync optimisation changes
Diffstat (limited to 'LibMatrix/Responses')
-rw-r--r--LibMatrix/Responses/SyncResponse.cs6
1 files changed, 3 insertions, 3 deletions
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<StateEventResponse>? events, bool? limited) { @@ -98,8 +98,8 @@ public class SyncResponse { Limited = limited; } - [JsonPropertyName("events")] - public List<StateEventResponse>? Events { get; set; } + // [JsonPropertyName("events")] + // public List<StateEventResponse>? Events { get; set; } [JsonPropertyName("prev_batch")] public string? PrevBatch { get; set; }