about summary refs log tree commit diff
path: root/LibMatrix.EventTypes
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-04-24 10:07:38 +0200
committerRory& <root@rory.gay>2025-04-24 10:07:38 +0200
commit0557fd17d424950ed9a16902443265bd4d2725e0 (patch)
tree8d06c100ded6479431ae78050a10b85d4ee8e5c5 /LibMatrix.EventTypes
parentFix args when using commands with spaces (diff)
downloadLibMatrix-0557fd17d424950ed9a16902443265bd4d2725e0.tar.xz
Maubot ping compat, make json extensibility easier to use
Diffstat (limited to 'LibMatrix.EventTypes')
-rw-r--r--LibMatrix.EventTypes/EventContent.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix.EventTypes/EventContent.cs b/LibMatrix.EventTypes/EventContent.cs

index 89686ae..1011e88 100644 --- a/LibMatrix.EventTypes/EventContent.cs +++ b/LibMatrix.EventTypes/EventContent.cs
@@ -7,7 +7,7 @@ namespace LibMatrix.EventTypes; public abstract class EventContent { [JsonExtensionData] - public Dictionary<string, JsonElement>? AdditionalData { get; set; } = []; + public Dictionary<string, object>? AdditionalData { get; set; } = []; public static List<string> GetMatchingEventTypes<T>() where T : EventContent { var type = typeof(T);