From f41b6e5ec431c88bc1d94e4832d8ba49ddc42004 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Tue, 5 Mar 2024 11:19:52 +0100 Subject: HomeserverEmulator work --- LibMatrix/Responses/SyncResponse.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'LibMatrix/Responses/SyncResponse.cs') diff --git a/LibMatrix/Responses/SyncResponse.cs b/LibMatrix/Responses/SyncResponse.cs index 49259d0..e4addb6 100644 --- a/LibMatrix/Responses/SyncResponse.cs +++ b/LibMatrix/Responses/SyncResponse.cs @@ -83,6 +83,13 @@ public class SyncResponse { public SummaryDataStructure? Summary { get; set; } public class TimelineDataStructure { + public TimelineDataStructure() { } + + public TimelineDataStructure(List? events, bool? limited) { + Events = events; + Limited = limited; + } + [JsonPropertyName("events")] public List? Events { get; set; } -- cgit 1.4.1