mautrix / imessage

A Matrix-iMessage puppeting bridge
https://go.mau.fi/mautrix-imessage/
GNU Affero General Public License v3.0
332 stars 36 forks source link

[BlueBubbles] Implement Delivery Receipts #202

Closed joshuafhiggins closed 3 months ago

joshuafhiggins commented 3 months ago

Currently, the bridge only reflects when a message is sent and read. This would be a nice feature to have and I may implement it if I have the time but it should be easy to do with other message updates. I was unaware the bridge wasn't doing this until I started using the new Beeper beta app and checked back with the original.

trek-boldly-go commented 3 months ago

It's not ideal because it is hard coded, but it does actually report that messages are delivered. https://github.com/mautrix/imessage/blob/master/imessage%2Fbluebubbles%2Fapi.go#L1465

I'm only okay with the hard coded value because this conversion function would only ever run if the message is actually delivered.

trek-boldly-go commented 3 months ago

Ah sorry, sent is the hard coded one. But it is still sending delivery receipts as far as I can tell.

joshuafhiggins commented 3 months ago

That's strange, do you see delivery receipts in your UI? I wonder if its an issue with my setup.

joshuafhiggins commented 3 months ago

Resolved with 5a967bd