mautrix / whatsapp

A Matrix-WhatsApp puppeting bridge
https://maunium.net/go/mautrix-whatsapp
GNU Affero General Public License v3.0
1.29k stars 175 forks source link

delivery receipts not working: Content must be a JSON object #578

Closed Severin-S closed 1 year ago

Severin-S commented 1 year ago

I have delivery_receipts enabled but since a while they sopped working (I think they stopped working around the time whatsapp poll support was added). When I send a message, the following content is logged by the bridge:

[Dec 15, 2022 13:15:07] [Matrix/Bot/DEBUG] req #5543 (/v3/rooms/!xKwVSFxuidrwaRhsJG:schueller.xyz/receipt/m.read/$aHxmolSqFNhYqRyMZAmjcxQP08LSHw6KAYxhxY5hIBI) completed in 4.50706ms with status 400 and 65 bytes of application/json body
[Dec 15, 2022 13:15:07] [Portal/📞@s.whatsapp.net-📞@s.whatsapp.net/DEBUG] Failed to send delivery receipt for $aHxmolSqFNhYqRyMZAmjcxQP08LSHw6KAYxhxY5hIBI: failed to POST /_matrix/client/v3/rooms/!xKwVSFxuidrwaRhsJG:schueller.xyz/receipt/m.read/$aHxmolSqFNhYqRyMZAmjcxQP08LSHw6KAYxhxY5hIBI: M_BAD_JSON (HTTP 400): Content must be a JSON object.

Bridge Version: mautrix-whatsapp v0.7.2+dev.a8a98264 (Dec 13 2022, 23:05:30) Synapse Version: 1.73.0