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/Spec/State/RoomInfo/RoomTopicLegacyEventContent.cs | |
parent | Clarify LegacyEvent types (diff) | |
download | LibMatrix-30a0868789466012bab869af4300aef5a9cac108.tar.xz |
Rename legacy event types
Diffstat (limited to '')
-rw-r--r-- | LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomTopicLegacyEventContent.cs (renamed from LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs b/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomTopicLegacyEventContent.cs index d9e1ba9..fbd5124 100644 --- a/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs +++ b/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomTopicLegacyEventContent.cs @@ -2,9 +2,9 @@ using System.Text.Json.Serialization; namespace LibMatrix.LegacyEvents.EventTypes.Spec.State; -[MatrixEvent(EventName = EventId)] -[MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)] -public class RoomTopicEventContent : EventContent { +[LegacyMatrixEvent(EventName = EventId)] +[LegacyMatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)] +public class RoomTopicLegacyEventContent : LegacyEventContent { public const string EventId = "m.room.topic"; [JsonPropertyName("topic")] |