diff options
Diffstat (limited to 'matrix-api.c')
-rw-r--r-- | matrix-api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matrix-api.c b/matrix-api.c index 3bc1b00..3d72728 100644 --- a/matrix-api.c +++ b/matrix-api.c @@ -837,7 +837,7 @@ MatrixApiRequestData *matrix_api_upload_file(MatrixConnectionData *conn, MatrixApiRequestData *fetch_data; url = g_string_new(conn->homeserver); - g_string_append(url, "/_matrix/media/r0/upload"); + g_string_append(url, "_matrix/media/r0/upload"); g_string_append(url, "?access_token="); g_string_append(url, purple_url_encode(conn->access_token)); |