From 3de14b2f4acdea050795d8ae81b110b97f25cc68 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 9 Feb 2016 14:54:43 +0100 Subject: [PATCH] =?UTF-8?q?Bugfix=20for=20HTTP=20API=E2=80=99s=20invite=5F?= =?UTF-8?q?user?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/matrix-http-api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix-http-api.c b/src/matrix-http-api.c index cbd0419..24b3e46 100644 --- a/src/matrix-http-api.c +++ b/src/matrix-http-api.c @@ -1774,7 +1774,7 @@ i_invite_user(MatrixAPI *api, JsonBuilder *builder; JsonNode *body; - encoded_room_id = soup_uri_encode(encoded_room_id, NULL); + encoded_room_id = soup_uri_encode(room_id, NULL); path = g_strdup_printf("rooms/%s/invite", encoded_room_id); g_free(encoded_room_id);