X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/0b5fc6b640af6f13fe56a6e77598d96db78bb56c..760426d17bc296232b9fedf7e114cb699e2697ae:/examples/ReplyRoomkey.c diff --git a/examples/ReplyRoomkey.c b/examples/ReplyRoomkey.c index 8d61a4c..7cc506e 100644 --- a/examples/ReplyRoomkey.c +++ b/examples/ReplyRoomkey.c @@ -11,10 +11,9 @@ int main(void) { MatrixClient client; - MatrixClientInit(&client, - SERVER); + MatrixClientInit(&client); - MatrixHttpInit(&client); + MatrixHttpInit(&client.hc, SERVER); MatrixClientSetAccessToken(&client, ACCESS_TOKEN); @@ -34,7 +33,7 @@ main(void) "ULZZOKJBYN", &client.megolmOutSessions[0]); - MatrixHttpDeinit(&client); + MatrixHttpDeinit(&client.hc); return 0; }