about summary refs log tree commit diff
path: root/LibMatrix/StateEvent.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-29 22:44:44 +0200
committerRory& <root@rory.gay>2024-12-15 02:08:49 +0100
commit18c95766748432d3f5729072a3e8dd1495d8c1e0 (patch)
tree9cfb21c2be21662fd677af2767e475ee24434040 /LibMatrix/StateEvent.cs
parentUpdate devtest bots arcanelibs linked version (diff)
downloadLibMatrix-18c95766748432d3f5729072a3e8dd1495d8c1e0.tar.xz
Some cleanup, fixes
Diffstat (limited to '')
-rw-r--r--LibMatrix/StateEvent.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/StateEvent.cs b/LibMatrix/StateEvent.cs

index cc870e4..0cd5662 100644 --- a/LibMatrix/StateEvent.cs +++ b/LibMatrix/StateEvent.cs
@@ -172,7 +172,7 @@ public class StateEventResponse : StateEvent { public string? EventId { get; set; } public class UnsignedData { - [JsonPropertyName("age")] + [JsonPropertyName("age"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)] public ulong? Age { get; set; } [JsonPropertyName("redacted_because")]