From badbc3be1488a21e3b1eb978354d0c28ad42d25a Mon Sep 17 00:00:00 2001 From: OfficialDakari Date: Sat, 7 Jun 2025 12:42:45 +0500 Subject: [PATCH] fix well known not fetched again --- lib/src/client.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/client.dart b/lib/src/client.dart index 549c62b7..6515d131 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -586,7 +586,7 @@ class Client extends MatrixApi { @override Future getWellknown() async { final wellKnownResponse = await httpClient.get( - Uri.https(homeserver.toString(), '/.well-known/matrix/client'), + Uri.https(homeserver!.authority!, '/.well-known/matrix/client'), ); final wellKnown = DiscoveryInformation.fromJson( jsonDecode(utf8.decode(wellKnownResponse.bodyBytes))