diff options
Diffstat (limited to 'MatrixRoomUtils.Core/Responses/LoginResponse.cs')
-rw-r--r-- | MatrixRoomUtils.Core/Responses/LoginResponse.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MatrixRoomUtils.Core/Responses/LoginResponse.cs b/MatrixRoomUtils.Core/Responses/LoginResponse.cs index 5a7514e..4012d32 100644 --- a/MatrixRoomUtils.Core/Responses/LoginResponse.cs +++ b/MatrixRoomUtils.Core/Responses/LoginResponse.cs @@ -1,9 +1,9 @@ using System.Net.Http.Json; using System.Text.Json; using System.Text.Json.Serialization; -using MatrixRoomUtils.Authentication; +using MatrixRoomUtils.Core.Authentication; -namespace MatrixRoomUtils.Responses; +namespace MatrixRoomUtils.Core.Responses; public class LoginResponse { @@ -26,6 +26,6 @@ public class LoginResponse } public async Task<string> GetCanonicalHomeserverUrl() { - return await MatrixAuth.ResolveHomeserverFromWellKnown(HomeServer); + return (await new RemoteHomeServer(HomeServer).Configure()).FullHomeServerDomain; } } \ No newline at end of file |