Skip to content

Decode incoming command 147 (SMS/RCS read on another device) - #39

Open
stealth658 wants to merge 1 commit into
OpenBubbles:masterfrom
stealth658:read-on-device-147
Open

stealth658 wants to merge 1 commit into
OpenBubbles:masterfrom
stealth658:read-on-device-147

Conversation

@stealth658

Copy link
Copy Markdown

When a forwarded SMS/RCS message is read on another of the account's devices (for example the iPhone), Apple sends command 147 on the SMS forwarding service with the read message's guid in g (plus the read time in e, and fR on some). rustpush sends 147 (MessageReadOnDevice) but had no decoder for incoming ones, so the notice was dropped and the message stayed unread on the receiving client.

This decodes an incoming 147 that has g as Message::Read with id = g. Nothing else changes.

Testing: builds on current master (cargo check). The payload shape is from 147 messages seen in debug logs on my own account. I have not been able to run it end to end yet, so a check on your side would be welcome.

When a forwarded SMS/RCS message is read on another of the account's
devices, Apple sends command 147 on the SMS forwarding service with the
read message's guid in "g". rustpush sends 147 but had no decoder for
incoming ones, so the notice was dropped and the message stayed unread on
the receiving client. Decode it as Message::Read with id = g.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant