mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 22:35:52 +01:00
client: fix beeper inbox method
This commit is contained in:
parent
2e0dd48c5d
commit
7d9e60dfdf
1 changed files with 1 additions and 1 deletions
|
|
@ -1934,7 +1934,7 @@ func (cli *Client) SetReadMarkers(ctx context.Context, roomID id.RoomID, content
|
|||
|
||||
func (cli *Client) SetBeeperInboxState(ctx context.Context, roomID id.RoomID, content *ReqSetBeeperInboxState) (err error) {
|
||||
urlPath := cli.BuildClientURL("unstable", "com.beeper.inbox", "user", cli.UserID, "rooms", roomID, "inbox_state")
|
||||
_, err = cli.MakeRequest(ctx, http.MethodPost, urlPath, content, nil)
|
||||
_, err = cli.MakeRequest(ctx, http.MethodPut, urlPath, content, nil)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue