#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
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
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