mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
client: fix update delayed event method
Some checks failed
Some checks failed
This commit is contained in:
parent
01d1e9d69c
commit
e306c2817e
1 changed files with 1 additions and 1 deletions
|
|
@ -1225,7 +1225,7 @@ func (cli *Client) SendMassagedStateEvent(ctx context.Context, roomID id.RoomID,
|
|||
|
||||
func (cli *Client) UpdateDelayedEvent(ctx context.Context, req *ReqUpdateDelayedEvent) (resp *RespUpdateDelayedEvent, err error) {
|
||||
urlPath := cli.BuildClientURL("unstable", "org.matrix.msc4140", "delayed_events", req.DelayID)
|
||||
_, err = cli.MakeRequest(ctx, http.MethodPut, urlPath, req, &resp)
|
||||
_, err = cli.MakeRequest(ctx, http.MethodPost, urlPath, req, &resp)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue