From 18c95766748432d3f5729072a3e8dd1495d8c1e0 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 29 Jul 2024 22:44:44 +0200 Subject: Some cleanup, fixes --- LibMatrix/StateEvent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibMatrix/StateEvent.cs') 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")] -- cgit 1.5.1