aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2018-05-19 20:01:25 +0100
committerDr. David Alan Gilbert <dave@treblig.org>2019-12-28 18:41:04 +0000
commite1660c4e2e7576c4ce30aa46075c63256d3ccc07 (patch)
treea7614625c0bf6046016a6a48aef5d75f1e2873dc
parent3f74e480471664f8ff048f44d37115044d70f732 (diff)
downloadpurple-matrix-e1660c4e2e7576c4ce30aa46075c63256d3ccc07.tar.gz
api: Bump whoami size
I'd seen a whoami or one time hit the 1k limit - I think possibly in an error response from one time key uploads. Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
-rw-r--r--matrix-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-api.c b/matrix-api.c
index 7f52d7f..2eae2a9 100644
--- a/matrix-api.c
+++ b/matrix-api.c
@@ -1074,7 +1074,7 @@ MatrixApiRequestData *matrix_api_upload_keys(MatrixConnectionData *conn,
fetch_data = matrix_api_start_full(url->str, "POST",
"Content-Type: application/json", json, NULL, 0,
conn, callback, error_callback, bad_response_callback,
- user_data, 1024);
+ user_data, 10*1024);
g_free(json);
g_string_free(url, TRUE);