From 0ad13628bb8ef899927b7b42b5357fe616ce057c Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Tue, 17 Oct 2023 17:11:37 +0200 Subject: Add updating of profiles and fetching room profiles --- LibMatrix/Services/HomeserverProviderService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibMatrix/Services') diff --git a/LibMatrix/Services/HomeserverProviderService.cs b/LibMatrix/Services/HomeserverProviderService.cs index 6659081..c7fa5c3 100644 --- a/LibMatrix/Services/HomeserverProviderService.cs +++ b/LibMatrix/Services/HomeserverProviderService.cs @@ -54,7 +54,7 @@ public class HomeserverProviderService { public async Task GetRemoteHomeserver(string homeserver, string? proxy = null) { var hs = await RemoteHomeServer.Create(proxy ?? await _homeserverResolverService.ResolveHomeserverFromWellKnown(homeserver)); // hs._httpClient.Dispose(); - // hs._httpClient = new MatrixHttpClient { BaseAddress = new Uri(hs.FullHomeServerDomain) }; + // hs._httpClient = new MatrixHttpClient { BaseAddress = new Uri(hs.ServerName) }; // hs._httpClient.Timeout = TimeSpan.FromSeconds(120); return hs; } -- cgit 1.4.1