Bugfix for HTTP API’s invite_user

This commit is contained in:
Gergely Polonkai 2016-02-09 14:54:43 +01:00
parent 530ed8cb8d
commit 3de14b2f4a

View File

@ -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);