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/RoomPowerLevelLegacyEventContent.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/RoomPowerLevelLegacyEventContent.cs (renamed from LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomPowerLevelEventContent.cs) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomPowerLevelEventContent.cs b/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomPowerLevelLegacyEventContent.cs index e7b58ee..cf41b6d 100644 --- a/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomPowerLevelEventContent.cs +++ b/LibMatrix.LegacyEvents.EventTypes/Spec/State/RoomInfo/RoomPowerLevelLegacyEventContent.cs @@ -2,9 +2,9 @@ using System.Text.Json.Serialization; namespace LibMatrix.LegacyEvents.EventTypes.Spec.State; -[MatrixEvent(EventName = EventId)] +[LegacyMatrixEvent(EventName = EventId)] [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)] -public class RoomPowerLevelEventContent : EventContent { +public class RoomPowerLevelLegacyEventContent : LegacyEventContent { public const string EventId = "m.room.power_levels"; [JsonPropertyName("ban")] |