From 66b17967eba2a92952f76db3eed28324136eaa30 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Thu, 10 May 2018 20:56:46 +0300 Subject: Update dependencies --- vendor/maunium.net/go/gomatrix/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/maunium.net/go/gomatrix/client.go') diff --git a/vendor/maunium.net/go/gomatrix/client.go b/vendor/maunium.net/go/gomatrix/client.go index 90a07c6..7725ac3 100644 --- a/vendor/maunium.net/go/gomatrix/client.go +++ b/vendor/maunium.net/go/gomatrix/client.go @@ -529,7 +529,7 @@ func (cli *Client) ForgetRoom(roomID string) (resp *RespForgetRoom, err error) { // InviteUser invites a user to a room. See http://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-rooms-roomid-invite func (cli *Client) InviteUser(roomID string, req *ReqInviteUser) (resp *RespInviteUser, err error) { u := cli.BuildURL("rooms", roomID, "invite") - _, err = cli.MakeRequest("POST", u, struct{}{}, &resp) + _, err = cli.MakeRequest("POST", u, req, &resp) return } -- cgit v1.2.3