fix well known not fetched again
This commit is contained in:
parent
749d0f05bc
commit
badbc3be14
|
|
@ -586,7 +586,7 @@ class Client extends MatrixApi {
|
||||||
@override
|
@override
|
||||||
Future<DiscoveryInformation> getWellknown() async {
|
Future<DiscoveryInformation> getWellknown() async {
|
||||||
final wellKnownResponse = await httpClient.get(
|
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(
|
final wellKnown = DiscoveryInformation.fromJson(
|
||||||
jsonDecode(utf8.decode(wellKnownResponse.bodyBytes))
|
jsonDecode(utf8.decode(wellKnownResponse.bodyBytes))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue