diff options
author | Rory& <root@rory.gay> | 2024-05-30 09:46:43 +0000 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-05-30 09:46:43 +0000 |
commit | 30a0868789466012bab869af4300aef5a9cac108 (patch) | |
tree | 12790166e4d2c01a141928143b9b4d96dd08ace8 /LibMatrix.LegacyEvents.EventTypes/Common | |
parent | Clarify LegacyEvent types (diff) | |
download | LibMatrix-30a0868789466012bab869af4300aef5a9cac108.tar.xz |
Rename legacy event types
Diffstat (limited to 'LibMatrix.LegacyEvents.EventTypes/Common')
-rw-r--r-- | LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeLegacyEventContent.cs (renamed from LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeEventContent.cs) | 4 | ||||
-rw-r--r-- | LibMatrix.LegacyEvents.EventTypes/Common/RoomEmotesLegacyEventContent.cs (renamed from LibMatrix.LegacyEvents.EventTypes/Common/RoomEmotesEventContent.cs) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeEventContent.cs b/LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeLegacyEventContent.cs index be8c154..25c53a6 100644 --- a/LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeEventContent.cs +++ b/LibMatrix.LegacyEvents.EventTypes/Common/MjolnirShortcodeLegacyEventContent.cs @@ -2,8 +2,8 @@ using System.Text.Json.Serialization; namespace LibMatrix.LegacyEvents.EventTypes.Common; -[MatrixEvent(EventName = EventId)] -public class MjolnirShortcodeEventContent : TimelineEventContent { +[LegacyMatrixEvent(EventName = EventId)] +public class MjolnirShortcodeLegacyEventContent : TimelineLegacyEventContent { public const string EventId = "org.matrix.mjolnir.shortcode"; [JsonPropertyName("shortcode")] diff --git a/LibMatrix.LegacyEvents.EventTypes/Common/RoomEmotesEventContent.cs b/LibMatrix.LegacyEvents.EventTypes/Common/RoomEmotesLegacyEventContent.cs index ee268d9..a884359 100644 --- a/LibMatrix.LegacyEvents.EventTypes/Common/RoomEmotesEventContent.cs +++ b/LibMatrix.LegacyEvents.EventTypes/Common/RoomEmotesLegacyEventContent.cs @@ -2,8 +2,8 @@ using System.Text.Json.Serialization; namespace LibMatrix.LegacyEvents.EventTypes.Common; -[MatrixEvent(EventName = EventId)] -public class RoomEmotesEventContent : TimelineEventContent { +[LegacyMatrixEvent(EventName = EventId)] +public class RoomEmotesLegacyEventContent : TimelineLegacyEventContent { public const string EventId = "im.ponies.room_emotes"; [JsonPropertyName("emoticons")] |