From e5591eef3850a9796cc87386128651a828b70697 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 6 Oct 2023 18:29:15 +0200 Subject: Small refactors --- LibMatrix/Interfaces/IStateEventType.cs | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 LibMatrix/Interfaces/IStateEventType.cs (limited to 'LibMatrix/Interfaces/IStateEventType.cs') diff --git a/LibMatrix/Interfaces/IStateEventType.cs b/LibMatrix/Interfaces/IStateEventType.cs deleted file mode 100644 index b187970..0000000 --- a/LibMatrix/Interfaces/IStateEventType.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System.Text.Json.Serialization; - -namespace LibMatrix.Interfaces; - -public abstract class EventContent { - [JsonPropertyName("m.relates_to")] - public MessageRelatesTo? RelatesTo { get; set; } - - [JsonPropertyName("m.new_content")] - public EventContent? NewContent { get; set; } - - public abstract class MessageRelatesTo { - [JsonPropertyName("m.in_reply_to")] - public EventInReplyTo? InReplyTo { get; set; } - - - - public abstract class EventInReplyTo { - [JsonPropertyName("event_id")] - public string EventId { get; set; } - } - } -} -- cgit 1.4.1