X-Git-Url: https://gitweb.ps.run/matrix_esp_thesis/blobdiff_plain/ad9d01050b7b6d592a83ce14eeef7068bd981028..4c72c6901e007414aebb4cb6534c1a49d63558b0:/examples/Sync.c 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);