about summary refs log tree commit diff
path: root/LibMatrix/Homeservers/FederationClient.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-02-18 07:40:41 +0100
committerRory& <root@rory.gay>2025-02-18 07:40:41 +0100
commit8673cb236f427ba6af6382e3b5702a134f1afe2e (patch)
tree91cf9a092c47e4041d2e70fe01582184ebc90897 /LibMatrix/Homeservers/FederationClient.cs
parentChange defaults of GetManyMessages (diff)
downloadLibMatrix-8673cb236f427ba6af6382e3b5702a134f1afe2e.tar.xz
MxcUri class, other various work
Diffstat (limited to 'LibMatrix/Homeservers/FederationClient.cs')
-rw-r--r--LibMatrix/Homeservers/FederationClient.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibMatrix/Homeservers/FederationClient.cs b/LibMatrix/Homeservers/FederationClient.cs

index c7f0240..617b737 100644 --- a/LibMatrix/Homeservers/FederationClient.cs +++ b/LibMatrix/Homeservers/FederationClient.cs
@@ -13,8 +13,8 @@ public class FederationClient { if (proxy is not null) HttpClient.DefaultRequestHeaders.Add("MXAE_UPSTREAM", federationEndpoint); } - public MatrixHttpClient HttpClient { get; set; } = null!; - public HomeserverResolverService.WellKnownUris WellKnownUris { get; set; } = null!; + public MatrixHttpClient HttpClient { get; set; } + public HomeserverResolverService.WellKnownUris WellKnownUris { get; set; } public async Task<ServerVersionResponse> GetServerVersionAsync() => await HttpClient.GetFromJsonAsync<ServerVersionResponse>("/_matrix/federation/v1/version"); }