about summary refs log tree commit diff
path: root/LibMatrix/EventIdResponse.cs
diff options
context:
space:
mode:
Diffstat (limited to 'LibMatrix/EventIdResponse.cs')
-rw-r--r--LibMatrix/EventIdResponse.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/LibMatrix/EventIdResponse.cs b/LibMatrix/EventIdResponse.cs
index c2ad273..0a7cfd9 100644
--- a/LibMatrix/EventIdResponse.cs
+++ b/LibMatrix/EventIdResponse.cs
@@ -3,8 +3,6 @@ using System.Text.Json.Serialization;
 namespace LibMatrix;
 
 public class EventIdResponse(string eventId) {
-    public EventIdResponse(StateEventResponse stateEventResponse) : this(stateEventResponse.EventId ?? throw new NullReferenceException("State event ID is null!")) { }
-
     [JsonPropertyName("event_id")]
     public string EventId { get; set; } = eventId;
 }
\ No newline at end of file