diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:30:49 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:30:49 +0100 |
commit | f11fe491349854526f8d13e8b62458baeb3b23b6 (patch) | |
tree | c1c423d6bce67b2aa235b28daac914e6a7d1a6d9 /LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs | |
parent | Allow specifying chunk size for GetManyMessages (diff) | |
download | LibMatrix-f11fe491349854526f8d13e8b62458baeb3b23b6.tar.xz |
Consistently use EventId for event types
Diffstat (limited to '')
-rw-r--r-- | LibMatrix.EventTypes/Spec/State/RoomInfo/RoomServerACLEventContent.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 |