fix: inbox indirectly push notidy item into context

This commit is contained in:
Acbox
2026-03-03 20:38:36 +08:00
parent f88827945f
commit f0517a3a1f
2 changed files with 2 additions and 3 deletions
-3
View File
@@ -234,9 +234,6 @@ func (p *ChannelInboundProcessor) HandleInbound(ctx context.Context, cfg channel
slog.Int("attachments", len(attachments)), slog.Int("attachments", len(attachments)),
) )
} }
if !strings.EqualFold(identity.BotType, "personal") {
p.persistInboundUser(ctx, resolved.RouteID, identity, msg, text, attachments, "passive_sync")
}
return nil return nil
} }
+2
View File
@@ -80,6 +80,8 @@ export const system = ({
'time-now': date.toISOString(), 'time-now': date.toISOString(),
} }
console.log('inbox', inbox)
return ` return `
--- ---
${stringify(staticHeaders)} ${stringify(staticHeaders)}