about summary refs log tree commit diff
path: root/LibMatrix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-04-24 11:32:31 +0200
committerRory& <root@rory.gay>2025-04-24 11:32:31 +0200
commit1c30aec46b495f1da87c3a6adbda3e19e014b557 (patch)
treedc90a7b1bd63c8ef7d8d93d2a00620545e858400 /LibMatrix
parentClean up imports (diff)
downloadLibMatrix-master.tar.xz
Extensible message relations, mauping support HEAD master
Diffstat (limited to '')
-rw-r--r--LibMatrix.EventTypes/EventContent.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/LibMatrix.EventTypes/EventContent.cs b/LibMatrix.EventTypes/EventContent.cs

index 1011e88..07f56e2 100644 --- a/LibMatrix.EventTypes/EventContent.cs +++ b/LibMatrix.EventTypes/EventContent.cs
@@ -53,6 +53,9 @@ public abstract class TimelineEventContent : EventContent { // used for reactions [JsonPropertyName("key")] public string? Key { get; set; } + + [JsonExtensionData] + public Dictionary<string, object>? AdditionalData { get; set; } = []; public class EventInReplyTo { [JsonPropertyName("event_id")]