From d7cad3b40456ddbc0db7935b6340298d885c2af1 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 12 Apr 2022 00:59:30 +0200 Subject: Update matterbridge/gomatrix. Fixes #1772 (#1803) --- vendor/github.com/matterbridge/gomatrix/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/matterbridge/gomatrix') diff --git a/vendor/github.com/matterbridge/gomatrix/client.go b/vendor/github.com/matterbridge/gomatrix/client.go index d0bb0c5e..aa9e7e2c 100644 --- a/vendor/github.com/matterbridge/gomatrix/client.go +++ b/vendor/github.com/matterbridge/gomatrix/client.go @@ -591,7 +591,7 @@ func (cli *Client) RedactEvent(roomID, eventID string, req *ReqRedact) (resp *Re // MarkRead marks eventID in roomID as read, signifying the event, and all before it have been read. See https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-receipt-receipttype-eventid func (cli *Client) MarkRead(roomID, eventID string) error { urlPath := cli.BuildURL("rooms", roomID, "receipt", "m.read", eventID) - return cli.MakeRequest("POST", urlPath, nil, nil) + return cli.MakeRequest("POST", urlPath, struct{}{}, nil) } // CreateRoom creates a new Matrix room. See https://matrix.org/docs/spec/client_server/r0.2.0.html#post-matrix-client-r0-createroom -- cgit v1.2.3