about summary refs log tree commit diff
path: root/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-27 19:45:22 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-27 19:45:22 +0100
commit94b83d4de5e435796da9cc14667c1023a09df8eb (patch)
tree359f0d41431d4f647dddd213ab44f20780531ccd /LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs
parentSetImpersonate optimisation (dont execute if already set), cleanup (diff)
downloadLibMatrix-94b83d4de5e435796da9cc14667c1023a09df8eb.tar.xz
Cleanup
Diffstat (limited to 'LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs')
-rw-r--r--LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs
index 37536d2..8abb2c8 100644
--- a/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs
+++ b/LibMatrix.EventTypes/Spec/State/RoomInfo/RoomTopicEventContent.cs
@@ -5,6 +5,7 @@ namespace LibMatrix.EventTypes.Spec.State;
 [MatrixEvent(EventName = "m.room.topic")]
 [MatrixEvent(EventName = "org.matrix.msc3765.topic", Legacy = true)]
 public class RoomTopicEventContent : EventContent {
+    public const string EventId = "m.room.topic";
     [JsonPropertyName("topic")]
     public string? Topic { get; set; }
 }