]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - src/matrix.h
delete OlmJS example
[matrix_esp_thesis] / src / matrix.h
index d31a7f6abd8f4d9b01173b14e8101b1fde320b72..c07c742b0f6463a841d5f7810933d7c1d93c25c6 100644 (file)
@@ -47,9 +47,9 @@
 #define JSON_ONETIME_KEY_SIGNED_SIZE 256\r
 #define JSON_SIGNATURE_SIZE 256\r
 \r
-#define NUM_MEGOLM_SESSIONS 10\r
-#define NUM_OLM_SESSIONS 10\r
-#define NUM_DEVICES 10\r
+#define NUM_MEGOLM_SESSIONS 2\r
+#define NUM_OLM_SESSIONS 2\r
+#define NUM_DEVICES 5\r
 \r
 // HTTP\r
 \r
@@ -401,7 +401,7 @@ MatrixClientRequestMegolmInSession(
     const char * deviceId); // TODO: remove deviceId (query all devices)\r
 \r
 bool\r
-MatrixClientGetOlmSessionIn(\r
+MatrixClientGetOlmSession(\r
     MatrixClient * client,\r
     const char * userId,\r
     const char * deviceId,\r
@@ -415,13 +415,6 @@ MatrixClientNewOlmSessionIn(
     const char * encrypted,\r
     MatrixOlmSession ** outSession);\r
     \r
-bool\r
-MatrixClientGetOlmSessionOut(\r
-    MatrixClient * client,\r
-    const char * userId,\r
-    const char * deviceId,\r
-    MatrixOlmSession ** outSession);\r
-    \r
 bool\r
 MatrixClientNewOlmSessionOut(\r
     MatrixClient * client,\r