abouttreesummaryrefslogcommitdiff
path: root/examples/SendEncrypted.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SendEncrypted.c')
-rw-r--r--examples/SendEncrypted.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/SendEncrypted.c b/examples/SendEncrypted.c
index f2bb8df..7e0b1d4 100644
--- a/examples/SendEncrypted.c
+++ b/examples/SendEncrypted.c
@@ -35,7 +35,8 @@ main(void)
"m.room.message",
"{\"body\":\"Hello\",\"msgtype\":\"m.text\"}");
- MatrixClientShareMegolmOutSessionTest(&client,
+ MatrixClientShareMegolmOutSession(&client,
+ USER_ID,
"ULZZOKJBYN",
&client.megolmOutSessions[0]);