Fix test-api-client to correctly instantiate the API class
This commit is contained in:
parent
ca4b897d99
commit
b125086669
@ -183,7 +183,7 @@ main(int argc, char *argv[])
|
||||
|
||||
g_info("Starting up: %s with %s:%s", *homeserver, user, password);
|
||||
|
||||
api = MATRIX_API(matrix_http_api_new(*homeserver, NULL));
|
||||
api = MATRIX_API(matrix_http_api_new(*homeserver, NULL, NULL));
|
||||
matrix_http_api_set_validate_certificate(MATRIX_HTTP_API(api),
|
||||
!no_validate_certs);
|
||||
builder = json_builder_new();
|
||||
|
Loading…
Reference in New Issue
Block a user