about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs')
-rw-r--r--LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs b/LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs
index bfe480e..b9a837f 100644
--- a/LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs
+++ b/LibMatrix.EventTypes/Common/RoomEmotesEventContent.cs
@@ -2,8 +2,10 @@ using System.Text.Json.Serialization;
 
 namespace LibMatrix.EventTypes.Common;
 
-[MatrixEvent(EventName = "im.ponies.room_emotes")]
+[MatrixEvent(EventName = EventId)]
 public class RoomEmotesEventContent : TimelineEventContent {
+    public const string EventId = "im.ponies.room_emotes";
+
     [JsonPropertyName("emoticons")]
     public Dictionary<string, EmoticonData>? Emoticons { get; set; }
 
@@ -19,4 +21,4 @@ public class RoomEmotesEventContent : TimelineEventContent {
     }
 
     public class PackInfo; // TODO: Implement this
-}
+}
\ No newline at end of file