abouttreesummaryrefslogcommitdiff
path: root/src/matrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/matrix.h')
-rw-r--r--src/matrix.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/matrix.h b/src/matrix.h
index d31a7f6..c07c742 100644
--- a/src/matrix.h
+++ b/src/matrix.h
@@ -47,9 +47,9 @@
#define JSON_ONETIME_KEY_SIGNED_SIZE 256
#define JSON_SIGNATURE_SIZE 256
-#define NUM_MEGOLM_SESSIONS 10
-#define NUM_OLM_SESSIONS 10
-#define NUM_DEVICES 10
+#define NUM_MEGOLM_SESSIONS 2
+#define NUM_OLM_SESSIONS 2
+#define NUM_DEVICES 5
// HTTP
@@ -401,7 +401,7 @@ MatrixClientRequestMegolmInSession(
const char * deviceId); // TODO: remove deviceId (query all devices)
bool
-MatrixClientGetOlmSessionIn(
+MatrixClientGetOlmSession(
MatrixClient * client,
const char * userId,
const char * deviceId,
@@ -416,13 +416,6 @@ MatrixClientNewOlmSessionIn(
MatrixOlmSession ** outSession);
bool
-MatrixClientGetOlmSessionOut(
- MatrixClient * client,
- const char * userId,
- const char * deviceId,
- MatrixOlmSession ** outSession);
-
-bool
MatrixClientNewOlmSessionOut(
MatrixClient * client,
const char * userId,