Hotfix client

This commit is contained in:
Christian Pauly 2020-08-14 18:22:31 +02:00
parent a861ceed5f
commit 61b32e0bd9

View file

@ -102,7 +102,7 @@ class Client extends MatrixApi {
EventTypes.RoomCanonicalAlias,
EventTypes.RoomTombstone,
]);
this.httpClient = httpClient;
this.httpClient = httpClient ?? http.Client();
}
/// The required name for this client.