X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/9eaa420b7bf51cc81c50e7f4ca0f256498a07c86..b231ec39ba5b9df6288a50204e5dabe9f591c830:/src/matrix.h 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, @@ -415,13 +415,6 @@ MatrixClientNewOlmSessionIn( const char * encrypted, MatrixOlmSession ** outSession); -bool -MatrixClientGetOlmSessionOut( - MatrixClient * client, - const char * userId, - const char * deviceId, - MatrixOlmSession ** outSession); - bool MatrixClientNewOlmSessionOut( MatrixClient * client,