diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-11-09 07:37:10 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-11-09 07:37:10 +0100 |
commit | aaa3204704b677b59b60dd2719080ead5a0c1274 (patch) | |
tree | 552805fd7e417d3f51bef1da0a51d34c0f2d0036 /LibMatrix/EventTypes/Common | |
parent | Cleanup, fixes, fix proxy support (diff) | |
download | LibMatrix-aaa3204704b677b59b60dd2719080ead5a0c1274.tar.xz |
State vs Timeline events
Diffstat (limited to 'LibMatrix/EventTypes/Common')
-rw-r--r-- | LibMatrix/EventTypes/Common/MjolnirShortcodeEventContent.cs | 2 | ||||
-rw-r--r-- | LibMatrix/EventTypes/Common/RoomEmotesEventContent.cs | 2 |
2 files changed, 2 insertions, 2 deletions
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<string, EmoticonData>? Emoticons { get; set; } |