diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-28 10:38:45 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-06-28 10:38:45 +0200 |
commit | a331eb2f118e0051c6c6744a20d6b0934c4d6d6f (patch) | |
tree | a7798d94a3553106aad40507e2dc04ff9d2f9efd /MatrixRoomUtils.Core/RemoteHomeServer.cs | |
parent | Dependency injection stuff (diff) | |
download | MatrixUtils-a331eb2f118e0051c6c6744a20d6b0934c4d6d6f.tar.xz |
Update stuff
Diffstat (limited to 'MatrixRoomUtils.Core/RemoteHomeServer.cs')
-rw-r--r-- | MatrixRoomUtils.Core/RemoteHomeServer.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/MatrixRoomUtils.Core/RemoteHomeServer.cs b/MatrixRoomUtils.Core/RemoteHomeServer.cs index c593318..9c5f2a3 100644 --- a/MatrixRoomUtils.Core/RemoteHomeServer.cs +++ b/MatrixRoomUtils.Core/RemoteHomeServer.cs @@ -12,13 +12,4 @@ public class RemoteHomeServer : IHomeServer { _httpClient.Timeout = TimeSpan.FromSeconds(5); } - public async Task<RemoteHomeServer> Configure() { - FullHomeServerDomain = await ResolveHomeserverFromWellKnown(HomeServerDomain); - _httpClient.Dispose(); - _httpClient = new MatrixHttpClient { BaseAddress = new Uri(FullHomeServerDomain) }; - _httpClient.Timeout = TimeSpan.FromSeconds(5); - Console.WriteLine("[RHS] Finished setting up http client"); - - return this; - } } \ No newline at end of file |