]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - examples/SendEncrypted.c
generate identity keys
[matrix_esp_thesis] / examples / SendEncrypted.c
index db2f83cb9e1710099a29ca255b92fbfc5e2dc968..0c4a7c818022479766154f43f2b699453e70a201 100644 (file)
@@ -17,6 +17,8 @@ main(void)
 \r
     MatrixClientSetAccessToken(&client,\r
         ACCESS_TOKEN);\r
+    MatrixClientSetDeviceId(&client,\r
+        DEVICE_ID);\r
 \r
     // MatrixMegolmOutSession megolmOutSession;\r
     // MatrixMegolmOutSessionInit(&megolmOutSession);\r