Repository navigation
Conversation
Contributor
|
AI review done for Quality: Ready to merge based on code review and local checks covering encryption selection, confirmation timing, and widget disposal. Live delivery against the server was outside this verification.
|
Contributor
There was a problem hiding this comment.
AI review · GPT + Grok · 8e89cc9
Request changes. flutter test --no-pub test/utils/conversation_start_link_test.dart passes, and the relevant provider, conversation-focus, injector, and DAO paths were inspected. The start-link path can select the wrong category for bots when app metadata is missing or stale, so the PR does not reliably meet its stated encryption behavior.
This branch has not been deployed
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.
Summary
mixin://conversations/<id>?start=<text>sent the text asPLAIN_TEXTin every chat. It now uses the encryption category of the chat, from the app that is stored at the time of the send.ENCRYPTEDThe send dialog uses the same rule. It differs from a typed message in one case: for a bot whose app is not stored yet, a typed message uses signal. An open chat keeps the app it was opened with, so the link does not read it. The category is read after the confirmation, so a change while the dialog is open counts. The confirmation itself does not change.
A link that is tapped in a chat can open another chat, which removes the tapped message. The send therefore takes the account and the database before it waits, and does not use that
contextlater.Evidence
test/utils/conversation_start_link_test.dart, 9 cases. Before the change, the contact and encrypted bot cases sentplain.flutter analyze: no issues.flutter test: 516 passed, 13 skipped.Merge Danger
Door: two-way
Blast Radius: start links only. In contact and group chats they now need the same Signal setup as a typed message.