gomatrix icon indicating copy to clipboard operation
gomatrix copied to clipboard

MarkRead method need to send JSON in Request Body

Open gdgd-server-admin opened this issue 3 years ago • 2 comments

Example Request send empty JSON in Request Body,but Mark Read method send nothing in Request Body. See https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-receipt-receipttype-eventid

gdgd-server-admin avatar Dec 25 '21 12:12 gdgd-server-admin

@gdgd-server-admin thanks for this PR! Does this resolve the error when sending read receipts?

code=400 wrapped=M_NOT_JSON: Content not JSON.

I recently started to get this error while using MarkRead. If your PR resolves that, then I say @kegsay please accept :pray: :heart:

TheDiscordian avatar Jan 26 '22 23:01 TheDiscordian

@gdgd-server-admin thanks for this PR! Does this resolve the error when sending read receipts?

code=400 wrapped=M_NOT_JSON: Content not JSON.

I recently started to get this error while using MarkRead. If your PR resolves that, then I say @kegsay please accept 🙏 ❤️

I found it in Matterbridge ( https://github.com/42wim/matterbridge) and my local fix version work fine.

gdgd-server-admin avatar Jan 27 '22 11:01 gdgd-server-admin