about summary refs log tree commit diff
path: root/LibMatrix/Interfaces/EventContent.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-11-09 07:37:10 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-11-09 07:37:10 +0100
commitaaa3204704b677b59b60dd2719080ead5a0c1274 (patch)
tree552805fd7e417d3f51bef1da0a51d34c0f2d0036 /LibMatrix/Interfaces/EventContent.cs
parentCleanup, fixes, fix proxy support (diff)
downloadLibMatrix-bak-aaa3204704b677b59b60dd2719080ead5a0c1274.tar.xz
State vs Timeline events
Diffstat (limited to 'LibMatrix/Interfaces/EventContent.cs')
-rw-r--r--LibMatrix/Interfaces/EventContent.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/LibMatrix/Interfaces/EventContent.cs b/LibMatrix/Interfaces/EventContent.cs

index 51671dd..ec09c7e 100644 --- a/LibMatrix/Interfaces/EventContent.cs +++ b/LibMatrix/Interfaces/EventContent.cs
@@ -3,11 +3,14 @@ using System.Text.Json.Serialization; namespace LibMatrix.Interfaces; public abstract class EventContent { + +} +public abstract class TimelineEventContent : EventContent { [JsonPropertyName("m.relates_to")] public MessageRelatesTo? RelatesTo { get; set; } // [JsonPropertyName("m.new_content")] - // public EventContent? NewContent { get; set; } + // public TimelineEventContent? NewContent { get; set; } public class MessageRelatesTo { [JsonPropertyName("m.in_reply_to")]