X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/8d8ae609f0201ec4640738ff49b768e899695423..da776f86b42946715c27edd64f7558b9d5080df1:/examples/SendEncrypted.c diff --git a/examples/SendEncrypted.c b/examples/SendEncrypted.c index df1d272..c2fda6c 100644 --- a/examples/SendEncrypted.c +++ b/examples/SendEncrypted.c @@ -34,7 +34,7 @@ main(void) // create megolmsession MatrixMegolmOutSession * megolmOutSession; - MatrixClientGetMegolmOutSession(&client, + MatrixClientNewMegolmOutSession(&client, ROOM_ID, &megolmOutSession); printf("megolm session id: %.10s... key: %.10s...\n", megolmOutSession->id, megolmOutSession->key);