Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Platforms
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 saydelete_for_meand notdelete; onmainit 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, thencargo nextest run --workspace --features tinyclient/gui(3680 passed, 28 skipped; new among thema_messages_account_deletes_for_me_aloneanda_network_that_deletes_only_for_me_still_lists_deleting_its_own_messages), thencargo 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.