Make HTTP API to send the access token automatically

This commit is contained in:
2015-12-15 17:37:34 +01:00
parent 556732702a
commit 1834d8ada9
2 changed files with 21 additions and 0 deletions

View File

@@ -95,6 +95,12 @@ main(int argc, char *argv[])
g_info("Starting up: %s with %s:%s", url, user, password);
/*
* [ ] register
* [X] login
* [ ] create_room
* [ ] join_room
*/
api = matrix_http_api_new(url, NULL);
params = matrix_http_api_gen_parameters(
"user", user,