diff options
Diffstat (limited to 'LibMatrix/EventTypes/Spec/Ephemeral')
-rw-r--r-- | LibMatrix/EventTypes/Spec/Ephemeral/PresenceStateEventContent.cs | 2 | ||||
-rw-r--r-- | LibMatrix/EventTypes/Spec/Ephemeral/RoomTypingEventContent.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/LibMatrix/EventTypes/Spec/Ephemeral/PresenceStateEventContent.cs b/LibMatrix/EventTypes/Spec/Ephemeral/PresenceStateEventContent.cs index 51cfdef..3e4a5cd 100644 --- a/LibMatrix/EventTypes/Spec/Ephemeral/PresenceStateEventContent.cs +++ b/LibMatrix/EventTypes/Spec/Ephemeral/PresenceStateEventContent.cs @@ -4,7 +4,7 @@ using LibMatrix.Interfaces; namespace LibMatrix.EventTypes.Spec.State; [MatrixEvent(EventName = "m.presence")] -public class PresenceEventContent : EventContent { +public class PresenceEventContent : TimelineEventContent { [JsonPropertyName("presence")] public string Presence { get; set; } [JsonPropertyName("last_active_ago")] diff --git a/LibMatrix/EventTypes/Spec/Ephemeral/RoomTypingEventContent.cs b/LibMatrix/EventTypes/Spec/Ephemeral/RoomTypingEventContent.cs index 0ff2cee..661cf63 100644 --- a/LibMatrix/EventTypes/Spec/Ephemeral/RoomTypingEventContent.cs +++ b/LibMatrix/EventTypes/Spec/Ephemeral/RoomTypingEventContent.cs @@ -4,7 +4,7 @@ using LibMatrix.Interfaces; namespace LibMatrix.EventTypes.Spec.State; [MatrixEvent(EventName = "m.typing")] -public class RoomTypingEventContent : EventContent { +public class RoomTypingEventContent : TimelineEventContent { [JsonPropertyName("user_ids")] public string[]? UserIds { get; set; } } |