fix well known not fetched again
This commit is contained in:
parent
749d0f05bc
commit
badbc3be14
|
|
@ -586,7 +586,7 @@ class Client extends MatrixApi {
|
|||
@override
|
||||
Future<DiscoveryInformation> 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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue