From f11fe491349854526f8d13e8b62458baeb3b23b6 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Fri, 9 Feb 2024 16:30:49 +0100 Subject: Consistently use EventId for event types --- LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs') diff --git a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs index b720b14..be83e37 100644 --- a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs +++ b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs @@ -2,7 +2,7 @@ using System.Text.Json.Serialization; namespace LibMatrix.EventTypes.Spec.State; -[MatrixEvent(EventName = "m.room.server_acl")] +[MatrixEvent(EventName = EventId)] public class RoomServerACLEventContent : EventContent { public const string EventId = "m.room.server_acl"; @@ -14,4 +14,4 @@ public class RoomServerACLEventContent : EventContent { [JsonPropertyName("allow_ip_literals")] public bool AllowIpLiterals { get; set; } // = false; -} +} \ No newline at end of file -- cgit 1.4.1