Skip to content

fix(desktop): keep explicit @mentions one-shot when auto-mention is off - #7022

Open
Chessing234 wants to merge 3 commits into
block:mainfrom
Chessing234:fix/respect-auto-mention-preference
Open

fix(desktop): keep explicit @mentions one-shot when auto-mention is off#7022
Chessing234 wants to merge 3 commits into
block:mainfrom
Chessing234:fix/respect-auto-mention-preference

Conversation

@Chessing234

@Chessing234 Chessing234 commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • With Automatically mention agents off, an explicit @mention was still promoting the agent into the persistent audience and flipping the preference on.
  • Explicit address is now one-shot when the preference is off.

Fixes #6938.

Test plan

  • node --test desktop/src/features/messages/lib/shouldPromoteExplicitAddress.test.mjs
  • Settings → Agents: turn auto-mention off, @mention an agent once, confirm the next composer is empty

promoteExplicitlyAddressedAgents ignored the preference and force-enabled
it, so addressing an agent once pinned them for every later reply.

Signed-off-by: Taksh <takshkothari09@gmail.com>
Signed-off-by: Taksh <takshkothari09@gmail.com>
Signed-off-by: Taksh <takshkothari09@gmail.com>
@Chessing234
Chessing234 requested a review from a team as a code owner August 29, 2026 06:58
@github-actions

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is 00e61eafa917d296104006576b7a2ddbfd58bb5a...e9ae7dd3d590e6b21c379f091c664c567157f97d.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review e9ae7dd3d590e6b21c379f091c664c567157f97d to authorize a new review.
Any previous review applies only to its recorded range.

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.

Desktop: disabled “Automatically mention agents” still pins agents in threads

1 participant