abouttreesummaryrefslogcommitdiff
path: root/examples/SendEncrypted.c
diff options
context:
space:
mode:
authorPatrick2023-10-13 15:57:15 +0200
committerPatrick2023-10-13 15:57:15 +0200
commit9eaa420b7bf51cc81c50e7f4ca0f256498a07c86 (patch)
tree696c4397b60503be0e7a732ef24f6266cafcaa86 /examples/SendEncrypted.c
parent80dc4ce95cbe915a3aaa7e2e18f545916d6ec769 (diff)
downloadmatrix_esp_thesis-9eaa420b7bf51cc81c50e7f4ca0f256498a07c86.tar.gz
matrix_esp_thesis-9eaa420b7bf51cc81c50e7f4ca0f256498a07c86.zip
HTTP layer for ESP32, make static specifier in matrix.c optional by defining it as a macro
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);