diff options
author | Wim <wim@42.be> | 2022-04-12 00:59:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-12 00:59:30 +0200 |
commit | d7cad3b40456ddbc0db7935b6340298d885c2af1 (patch) | |
tree | 7fd5cb02633c4ef94d11758579738fedda74237c /vendor | |
parent | 7740a362c973522d115b6983fd2a8f9ac1c3b58c (diff) | |
download | matterbridge-msglm-d7cad3b40456ddbc0db7935b6340298d885c2af1.tar.gz matterbridge-msglm-d7cad3b40456ddbc0db7935b6340298d885c2af1.tar.bz2 matterbridge-msglm-d7cad3b40456ddbc0db7935b6340298d885c2af1.zip |
Update matterbridge/gomatrix. Fixes #1772 (#1803)
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/github.com/matterbridge/gomatrix/client.go | 2 | ||||
-rw-r--r-- | vendor/modules.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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 diff --git a/vendor/modules.txt b/vendor/modules.txt index 00d98638..31eb489e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -221,7 +221,7 @@ github.com/matterbridge/Rocket.Chat.Go.SDK/rest # github.com/matterbridge/go-xmpp v0.0.0-20211030125215-791a06c5f1be ## explicit github.com/matterbridge/go-xmpp -# github.com/matterbridge/gomatrix v0.0.0-20220205235239-607eb9ee6419 +# github.com/matterbridge/gomatrix v0.0.0-20220411225302-271e5088ea27 ## explicit; go 1.17 github.com/matterbridge/gomatrix # github.com/matterbridge/gozulipbot v0.0.0-20211023205727-a19d6c1f3b75 |