Bugfix for HTTP API’s invite_user
This commit is contained in:
parent
530ed8cb8d
commit
3de14b2f4a
@ -1774,7 +1774,7 @@ i_invite_user(MatrixAPI *api,
|
|||||||
JsonBuilder *builder;
|
JsonBuilder *builder;
|
||||||
JsonNode *body;
|
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);
|
path = g_strdup_printf("rooms/%s/invite", encoded_room_id);
|
||||||
g_free(encoded_room_id);
|
g_free(encoded_room_id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user