X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/8d8ae609f0201ec4640738ff49b768e899695423..b231ec39ba5b9df6288a50204e5dabe9f591c830:/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);