diff options
Diffstat (limited to 'LibMatrix/Responses/SyncResponse.cs')
-rw-r--r-- | LibMatrix/Responses/SyncResponse.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibMatrix/Responses/SyncResponse.cs b/LibMatrix/Responses/SyncResponse.cs index e4addb6..7a51afe 100644 --- a/LibMatrix/Responses/SyncResponse.cs +++ b/LibMatrix/Responses/SyncResponse.cs @@ -39,7 +39,7 @@ public class SyncResponse { // supporting classes public class PresenceDataStructure { [JsonPropertyName("events")] - public List<StateEventResponse> Events { get; set; } = new(); + public List<LegacyMatrixEventResponse> Events { get; set; } = new(); } public class RoomsDataStructure { @@ -85,13 +85,13 @@ public class SyncResponse { public class TimelineDataStructure { public TimelineDataStructure() { } - public TimelineDataStructure(List<StateEventResponse>? events, bool? limited) { + public TimelineDataStructure(List<LegacyMatrixEventResponse>? events, bool? limited) { Events = events; Limited = limited; } [JsonPropertyName("events")] - public List<StateEventResponse>? Events { get; set; } + public List<LegacyMatrixEventResponse>? Events { get; set; } [JsonPropertyName("prev_batch")] public string? PrevBatch { get; set; } |