1 files changed, 2 insertions, 2 deletions
diff --git a/LibMatrix/Responses/Federation/ServerKeysResponse.cs b/LibMatrix/Responses/Federation/ServerKeysResponse.cs
index cb62e34..982907c 100644
--- a/LibMatrix/Responses/Federation/ServerKeysResponse.cs
+++ b/LibMatrix/Responses/Federation/ServerKeysResponse.cs
@@ -38,7 +38,7 @@ public class ServerKeysResponse {
[DebuggerDisplay("{Key}")]
public class CurrentVerifyKey {
[JsonPropertyName("key")]
- public string Key { get; set; }
+ public required string Key { get; set; }
}
[DebuggerDisplay("{Key} (expired {Expired})")]
@@ -52,4 +52,4 @@ public class ServerKeysResponse {
set => ExpiredTs = (ulong)new DateTimeOffset(value).ToUnixTimeMilliseconds();
}
}
-}
+}
\ No newline at end of file
|