From aaa3204704b677b59b60dd2719080ead5a0c1274 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 9 Nov 2023 07:37:10 +0100 Subject: State vs Timeline events --- LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs | 2 +- LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'LibMatrix/EventTypes/Common') diff --git a/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs b/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs index 374ddd4..a09a393 100644 --- a/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs +++ b/LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs @@ -4,7 +4,7 @@ using LibMatrix.Interfaces; namespace LibMatrix.EventTypes.Common; [MatrixEvent(EventName = "org.matrix.mjolnir.shortcode")] -public class MjolnirShortcodeEventContent : EventContent { +public class MjolnirShortcodeEventContent : TimelineEventContent { [JsonPropertyName("shortcode")] public string? Shortcode { get; set; } } diff --git a/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs b/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs index 2e824ca..8d05a2e 100644 --- a/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs +++ b/LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs @@ -4,7 +4,7 @@ using LibMatrix.Interfaces; namespace LibMatrix.EventTypes.Common; [MatrixEvent(EventName = "im.ponies.room_emotes")] -public class RoomEmotesEventContent : EventContent { +public class RoomEmotesEventContent : TimelineEventContent { [JsonPropertyName("emoticons")] public Dictionary? Emoticons { get; set; } -- cgit 1.4.1