diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-03-05 11:19:52 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-03-05 11:19:52 +0100 |
commit | f41b6e5ec431c88bc1d94e4832d8ba49ddc42004 (patch) | |
tree | 503be94f5036f7cc221846c1eabf7c5edd107f1a /LibMatrix/Responses/SyncResponse.cs | |
parent | Unknown changes (diff) | |
download | LibMatrix-bak-f41b6e5ec431c88bc1d94e4832d8ba49ddc42004.tar.xz |
HomeserverEmulator work
Diffstat (limited to 'LibMatrix/Responses/SyncResponse.cs')
-rw-r--r-- | LibMatrix/Responses/SyncResponse.cs | 7 |
1 files changed, 7 insertions, 0 deletions
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<StateEventResponse>? events, bool? limited) { + Events = events; + Limited = limited; + } + [JsonPropertyName("events")] public List<StateEventResponse>? Events { get; set; } |