From a4883ff3fe1b4a3e422ebebe27c693e33d8a5fd3 Mon Sep 17 00:00:00 2001 From: kappy Date: Tue, 21 Jul 2026 20:51:01 -0400 Subject: [PATCH] fix(desktop): allow shared remote agents in mentions Signed-off-by: kappy --- desktop/src/features/messages/lib/useMentions.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/desktop/src/features/messages/lib/useMentions.ts b/desktop/src/features/messages/lib/useMentions.ts index 0c73b75339..209bf71587 100644 --- a/desktop/src/features/messages/lib/useMentions.ts +++ b/desktop/src/features/messages/lib/useMentions.ts @@ -16,7 +16,6 @@ import { coalesceAutocompleteCandidatesByKey, getMentionableAgentPubkeys, getSharedChannelIds, - isAgentIdentityInManagedList, shouldHideAgentFromMentions, } from "@/features/agents/lib/agentAutocompleteEligibility"; import { @@ -246,9 +245,6 @@ export function useMentions( if (isArchivedDiscovery(pubkey)) { return; } - if (!isAgentIdentityInManagedList(candidate, managedAgentPubkeys)) { - return; - } if ( shouldHideAgentFromMentions({ isAgent: candidate.isAgent === true,