From 4877079e79b62ae8e8031ab6e3d4e0742abb8530 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Tue, 19 Dec 2023 18:55:45 +0100 Subject: Cleanup --- LibMatrix/Responses/CreateRoomRequest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibMatrix/Responses/CreateRoomRequest.cs') diff --git a/LibMatrix/Responses/CreateRoomRequest.cs b/LibMatrix/Responses/CreateRoomRequest.cs index f8d1d05..3b93cf7 100644 --- a/LibMatrix/Responses/CreateRoomRequest.cs +++ b/LibMatrix/Responses/CreateRoomRequest.cs @@ -56,7 +56,7 @@ public class CreateRoomRequest { TypedContent = (EventContent)Activator.CreateInstance( StateEvent.KnownStateEventTypes.FirstOrDefault(x => x.GetCustomAttributes()? - .Any(y => y.EventName == eventType) ?? false) ?? typeof(object) + .Any(y => y.EventName == eventType) ?? false) ?? typeof(UnknownEventContent) )! }); } -- cgit 1.4.1