Skip to content

Google Messages offers only Delete for me on a text, because a text cannot be unsent - #1048

Open
unRekable wants to merge 1 commit into
mainfrom
fix/messages-delete-for-me
Open

unRekable wants to merge 1 commit into
mainfrom
fix/messages-delete-for-me

Conversation

@unRekable

Copy link
Copy Markdown
Collaborator

What changed and why

The adapter for Google Messages said it could delete a message for everyone as well as for me. The window believed it: on our own texts the menu offered "Delete for everyone", and chatd refused it only when asked (#679). An SMS cannot be unsent, and the phone deletes a text on this side alone. The adapter now says only delete_for_me, so the confirm offers "Delete for me" alone, which does remove the text here. The parity table's row "Delete own message" counts either.

Type

  • feature
  • fix
  • perf
  • refactor
  • chore
  • docs

Platforms

  • windows
  • macos
  • linux
  • android
  • ios

Proof

Scenario: e2e/scenarios/messages-delete-for-me

The scenario starts this build's chatd on the scripted phone (TINYCLIENT_MESSAGES_FAKE) and speaks chatd's socket. The account must say delete_for_me and not delete; on main it says both, so that step is red there. A delete for me on our own sent text must reach the scripted phone and the row must leave the store. A delete for everyone must be refused in words.

Lab run: not made. The driver was not run against the real chatd on a lab host.

Also run on this branch on Windows before this pull request: cargo build --workspace --all-targets --features tinyclient/gui, then cargo nextest run --workspace --features tinyclient/gui (3680 passed, 28 skipped; new among them a_messages_account_deletes_for_me_alone and a_network_that_deletes_only_for_me_still_lists_deleting_its_own_messages), then cargo test --workspace --doc --features tinyclient/gui.

Compatibility

No protocol change.

Risk and rollback

"Delete for everyone" disappears from the menu on Google Messages texts. It never worked there: chatd refused it. Revert the commit.

Release note

Google Messages offers only "Delete for me" on a text, because a text cannot be unsent.

Part of #679.

@unRekable
unRekable requested a review from itz4blitz as a code owner December 5, 2026 15:46
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