diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2023-12-19 18:55:45 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2023-12-19 18:55:45 +0100 |
commit | 4877079e79b62ae8e8031ab6e3d4e0742abb8530 (patch) | |
tree | 5d354d1de45586585c28a01550f9cd1365e58a4a /LibMatrix/Responses | |
parent | Cleanup (diff) | |
download | LibMatrix-4877079e79b62ae8e8031ab6e3d4e0742abb8530.tar.xz |
Cleanup
Diffstat (limited to 'LibMatrix/Responses')
-rw-r--r-- | LibMatrix/Responses/CreateRoomRequest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<MatrixEventAttribute>()? - .Any(y => y.EventName == eventType) ?? false) ?? typeof(object) + .Any(y => y.EventName == eventType) ?? false) ?? typeof(UnknownEventContent) )! }); } |