mirror of
https://github.com/block/buzz.git
synced 2026-10-28 13:01:10 +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)) {
|
||||
return;
|
||||
}
|
||||
if (candidate.isAgent && !mentionableAgentPubkeys.has(pubkey)) {
|
||||
if (
|
||||
candidate.isAgent &&
|
||||
!candidate.isMember &&
|
||||
!mentionableAgentPubkeys.has(pubkey)
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user