mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
fix: inbox indirectly push notidy item into context
This commit is contained in:
@@ -234,9 +234,6 @@ func (p *ChannelInboundProcessor) HandleInbound(ctx context.Context, cfg channel
|
||||
slog.Int("attachments", len(attachments)),
|
||||
)
|
||||
}
|
||||
if !strings.EqualFold(identity.BotType, "personal") {
|
||||
p.persistInboundUser(ctx, resolved.RouteID, identity, msg, text, attachments, "passive_sync")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@@ -80,6 +80,8 @@ export const system = ({
|
||||
'time-now': date.toISOString(),
|
||||
}
|
||||
|
||||
console.log('inbox', inbox)
|
||||
|
||||
return `
|
||||
---
|
||||
${stringify(staticHeaders)}
|
||||
|
||||
Reference in New Issue
Block a user