From ffaa796473a09a901c782b7e74ed8571a26f3dba Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 9 Jun 2026 15:15:33 -0500 Subject: [PATCH] Commit shadow merge and drop dead recipients branch mergeProfileShadow mutated relatedProfiles in place but never invalidated the snapshot, so block/mute shadow updates didn't render until an unrelated commit. Call commit() after merging. Also drop the recipients branch, which never ran since recipients is never assigned. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/state/messages/convo/agent.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/state/messages/convo/agent.ts b/src/state/messages/convo/agent.ts index 6fc941d776..1126c7a7b1 100644 --- a/src/state/messages/convo/agent.ts +++ b/src/state/messages/convo/agent.ts @@ -133,15 +133,10 @@ export class Convo { snapshot: ConvoState | undefined mergeProfileShadow(did: string, shadow: Partial) { - this.recipients?.map((recipient, i) => { - if (recipient.did === did) { - const merged = mergeShadow(recipient, shadow) - this.recipients![i] = merged - } - }) const related = this.relatedProfiles.get(did) if (related) { this.relatedProfiles.set(did, mergeShadow(related, shadow)) + this.commit() } }