abouttreesummaryrefslogcommitdiff
path: root/src/matrix.h
diff options
context:
space:
mode:
authorPatrick2023-09-05 17:08:25 +0200
committerPatrick2023-09-05 17:08:25 +0200
commit504241758d7b832af61939beaf61b0e0574174c4 (patch)
treee0956d4a52c1f9504896f93d92d57d9693d613e2 /src/matrix.h
parent30bde47d1d5d9b6f0b59c318ff16caed6268d1a8 (diff)
downloadmatrix_esp_thesis-504241758d7b832af61939beaf61b0e0574174c4.tar.gz
matrix_esp_thesis-504241758d7b832af61939beaf61b0e0574174c4.zip
start working on Sync example (reply to to_device messages)
Diffstat (limited to 'src/matrix.h')
-rw-r--r--src/matrix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/matrix.h b/src/matrix.h
index 20cdc8c..da0e859 100644
--- a/src/matrix.h
+++ b/src/matrix.h
@@ -17,7 +17,7 @@
#define DEVICE_ID_SIZE 20
#define EXPIRE_MS_SIZE 20
#define REFRESH_TOKEN_SIZE 20
-#define MAX_URL_LEN 128
+#define MAX_URL_LEN 1024
#define OLM_IDENTITY_KEYS_JSON_SIZE 128
#define DEVICE_KEY_SIZE 44
@@ -275,7 +275,8 @@ MatrixClientSendEventEncrypted(
bool
MatrixClientSync(
MatrixClient * client,
- char * outSync, int outSyncCap);
+ char * outSync, int outSyncCap,
+ const char * nextBatch);
bool
MatrixClientGetRoomEvent(