mirror of
https://github.com/block/buzz.git
synced 2026-10-29 21:41:33 +00:00
fix(desktop): let channel members bypass mention agent gate (#965)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -209,7 +209,11 @@ export function useMentions(
|
|||||||
if (isArchivedDiscovery(pubkey)) {
|
if (isArchivedDiscovery(pubkey)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (candidate.isAgent && !mentionableAgentPubkeys.has(pubkey)) {
|
if (
|
||||||
|
candidate.isAgent &&
|
||||||
|
!candidate.isMember &&
|
||||||
|
!mentionableAgentPubkeys.has(pubkey)
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user