Hotfix client
This commit is contained in:
parent
a861ceed5f
commit
61b32e0bd9
|
@ -102,7 +102,7 @@ class Client extends MatrixApi {
|
||||||
EventTypes.RoomCanonicalAlias,
|
EventTypes.RoomCanonicalAlias,
|
||||||
EventTypes.RoomTombstone,
|
EventTypes.RoomTombstone,
|
||||||
]);
|
]);
|
||||||
this.httpClient = httpClient;
|
this.httpClient = httpClient ?? http.Client();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The required name for this client.
|
/// The required name for this client.
|
||||||
|
|
Loading…
Reference in a new issue