abouttreesummaryrefslogcommitdiff
path: root/examples/Sync.c
diff options
context:
space:
mode:
authorPatrick2023-07-10 20:57:49 +0200
committerPatrick2023-07-10 20:57:49 +0200
commit6646bd126f9faf1e687b203512d29da243acaa90 (patch)
treeb69b1217c08a954b83bdc74ee5aeb37ba794b23c /examples/Sync.c
parentf2840d9dd5b8a0683abee189e408c5a6de294eb7 (diff)
downloadmatrix_esp_thesis-6646bd126f9faf1e687b203512d29da243acaa90.tar.gz
matrix_esp_thesis-6646bd126f9faf1e687b203512d29da243acaa90.zip
more changes towards sharing megolm sessions
Diffstat (limited to 'examples/Sync.c')
-rw-r--r--examples/Sync.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/Sync.c b/examples/Sync.c
index a49cf65..e845056 100644
--- a/examples/Sync.c
+++ b/examples/Sync.c
@@ -3,7 +3,6 @@
#define SERVER "https://matrix.org"
#define ACCESS_TOKEN "syt_cHNjaG8_yBvTjVTquGCikvsAenOJ_49mBMO"
-#define DEVICE_ID "MAZNCCZLBR"
int
main(void)
@@ -17,9 +16,9 @@ main(void)
MatrixClientSetAccessToken(&client,
ACCESS_TOKEN);
- static char syncBuffer[20000];
+ static char syncBuffer[40000];
MatrixClientSync(&client,
- syncBuffer, 20000);
+ syncBuffer, 40000);
printf("%s", syncBuffer);
MatrixHttpDeinit(&client);