From 08f5483df2c01eba7c764cdaec94fca71e4976b8 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 30 May 2024 09:31:29 +0000 Subject: Clarify LegacyEvent types --- .../Spec/State/RoomInfo/RoomEncryptionEventContent.cs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 LibMatrix.EventTypes/Spec/State/RoomInfo/RoomEncryptionEventContent.cs (limited to 'LibMatrix.EventTypes/Spec/State/RoomInfo/RoomEncryptionEventContent.cs') diff --git a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomEncryptionEventContent.cs b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomEncryptionEventContent.cs deleted file mode 100644 index b49abfa..0000000 --- a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomEncryptionEventContent.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Text.Json.Serialization; - -namespace LibMatrix.EventTypes.Spec.State; - -[MatrixEvent(EventName = EventId)] -public class RoomEncryptionEventContent : EventContent { - public const string EventId = "m.room.encryption"; - - [JsonPropertyName("algorithm")] - public string? Algorithm { get; set; } - - [JsonPropertyName("rotation_period_ms")] - public ulong? RotationPeriodMs { get; set; } - - [JsonPropertyName("rotation_period_msgs")] - public ulong? RotationPeriodMsgs { get; set; } -} \ No newline at end of file -- cgit 1.4.1