Hotfix client

This commit is contained in:
Christian Pauly 2020-08-14 18:22:31 +02:00
parent a861ceed5f
commit 61b32e0bd9
1 changed files with 1 additions and 1 deletions

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.