]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - examples/SendEncrypted.c
work on SendEncrypted
[matrix_esp_thesis] / examples / SendEncrypted.c
index f2bb8dffa38ee163daec4cfbe17805392be598a2..7e0b1d4b25d23e24f3af40a556ee82a11c3c79d0 100644 (file)
@@ -35,7 +35,8 @@ main(void)
         "m.room.message",\r
         "{\"body\":\"Hello\",\"msgtype\":\"m.text\"}");\r
 \r
-    MatrixClientShareMegolmOutSessionTest(&client,\r
+    MatrixClientShareMegolmOutSession(&client,\r
+        USER_ID,\r
         "ULZZOKJBYN",\r
         &client.megolmOutSessions[0]);\r
         \r