abouttreesummaryrefslogcommitdiff
path: root/examples/SendEncrypted.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SendEncrypted.c')
-rw-r--r--examples/SendEncrypted.c2
1 files changed, 1 insertions, 1 deletions
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);