From 9eaa420b7bf51cc81c50e7f4ca0f256498a07c86 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 13 Oct 2023 15:57:15 +0200 Subject: HTTP layer for ESP32, make static specifier in matrix.c optional by defining it as a macro --- examples/SendEncrypted.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/SendEncrypted.c') 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); -- cgit v1.2.3