about summary refs log tree commit diff
path: root/LibMatrix/Interfaces
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LibMatrix/Interfaces/EventContent.cs (renamed from LibMatrix/Interfaces/IStateEventType.cs)5
1 files changed, 4 insertions, 1 deletions
diff --git a/LibMatrix/Interfaces/IStateEventType.cs b/LibMatrix/Interfaces/EventContent.cs
index b187970..b21cfc7 100644
--- a/LibMatrix/Interfaces/IStateEventType.cs
+++ b/LibMatrix/Interfaces/EventContent.cs
@@ -9,7 +9,7 @@ public abstract class EventContent {
     [JsonPropertyName("m.new_content")]
     public EventContent? NewContent { get; set; }
 
-    public abstract class MessageRelatesTo {
+    public class MessageRelatesTo {
         [JsonPropertyName("m.in_reply_to")]
         public EventInReplyTo? InReplyTo { get; set; }
 
@@ -18,6 +18,9 @@ public abstract class EventContent {
         public abstract class EventInReplyTo {
             [JsonPropertyName("event_id")]
             public string EventId { get; set; }
+
+            [JsonPropertyName("rel_type")]
+            public string RelType { get; set; }
         }
     }
 }