about summary refs log tree commit diff
path: root/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-06-03 04:59:40 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-06-03 04:59:40 +0200
commit2a37322d78c9ce1d27cbc12e24dd918407a931e3 (patch)
treed3483edae6792bab1f10516b95779367220a2a8d /LibMatrix.EventTypes.Abstractions/MatrixEvent.cs
parentAdd all projects to sln (diff)
downloadLibMatrix-dev/event-rewrite.tar.xz
Update dependencies, some tests, other things dev/event-rewrite
Diffstat (limited to 'LibMatrix.EventTypes.Abstractions/MatrixEvent.cs')
-rw-r--r--LibMatrix.EventTypes.Abstractions/MatrixEvent.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs b/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs
index 0e548c6..46e7757 100644
--- a/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs
+++ b/LibMatrix.EventTypes.Abstractions/MatrixEvent.cs
@@ -2,7 +2,10 @@ using System.Text.Json.Serialization;
 
 namespace LibMatrix.EventTypes;
 
-public interface IMatrixEvent<out T> where T : BaseMatrixEventContent;
+public interface IBaseMatrixEvent {
+    
+}
+public partial interface IMatrixEvent<out T> : IBaseMatrixEvent where T : BaseMatrixEventContent;
 public class MatrixEvent<T> : IMatrixEvent<T> where T : BaseMatrixEventContent {
     [JsonPropertyName("content")]
     public T? Content { get; set; }