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

edge case for read receipts #201

Closed dltacube closed 3 months ago

dltacube commented 3 months ago

Sometimes a new message will come in with a read receipt already included in the payload. That'll happen if for instance you have the messages app open to that specific conversation. BlueBubbles will emit only a single event (new message) rather than two and this code splits that event into its parts.

dltacube commented 3 months ago

Before this is ready, it should probably be done for any other message that might come from bluebubbles already retracted, blank, edited, etc...

Might also be able to remove the code block from the new messages block according to @trek-boldly-go