Some checks failed
CI / check (push) Failing after 17m48s
- Remove 'index 0000000..1111111' lines that made patches appear as new files - Fix hunk line counts in several patches - Add missing leading spaces to blank context lines - Temporarily disable statusline optimization patch (needs regenerating) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
14 lines
452 B
Diff
14 lines
452 B
Diff
diff --git a/internal/mail/router.go b/internal/mail/router.go
|
|
index b864c069..4b6a045b 100644
|
|
--- a/internal/mail/router.go
|
|
+++ b/internal/mail/router.go
|
|
@@ -646,7 +646,7 @@ func (r *Router) validateRecipient(identity string) error {
|
|
}
|
|
|
|
for _, agent := range agents {
|
|
- if agentBeadToAddress(agent) == identity {
|
|
+ if AddressToIdentity(agentBeadToAddress(agent)) == AddressToIdentity(identity) {
|
|
return nil // Found matching agent
|
|
}
|
|
}
|