fix(cron/whatsapp): route implicit delivery to allowlisted recipients#21533
Merged
Takhoffman merged 1 commit intomainfrom Feb 20, 2026
Merged
fix(cron/whatsapp): route implicit delivery to allowlisted recipients#21533Takhoffman merged 1 commit intomainfrom
Takhoffman merged 1 commit intomainfrom
Conversation
Contributor
Author
|
PR #21533 - fix(cron/whatsapp): route implicit delivery to allowlisted recipients (#21533) Merged via squash.
Thanks @Takhoffman! |
vignesh07
pushed a commit
to pahdo/openclaw
that referenced
this pull request
Feb 20, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
anisoptera
pushed a commit
to anisoptera/openclaw
that referenced
this pull request
Feb 20, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
rodrigogs
pushed a commit
to rodrigogs/openclaw
that referenced
this pull request
Feb 20, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
Hansen1018
added a commit
to Hansen1018/openclaw
that referenced
this pull request
Feb 21, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
vincentkoc
pushed a commit
that referenced
this pull request
Feb 21, 2026
…#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
vincentkoc
pushed a commit
that referenced
this pull request
Feb 21, 2026
…#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
mmyyfirstb
pushed a commit
to mmyyfirstb/openclaw
that referenced
this pull request
Feb 21, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
obviyus
pushed a commit
to guirguispierre/openclaw
that referenced
this pull request
Feb 22, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
Closed
6 tasks
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…openclaw#21533) thanks @Takhoffman Verified: - pnpm build - pnpm check - pnpm test:macmini Co-authored-by: Tak Hoffman <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #19701
Summary
Validation
Greptile Summary
This PR enforces allowlisted recipient routing for implicit WhatsApp delivery in cron jobs and heartbeats by merging configured and pairing-store
allowFromentries, preventing scheduled messages from being sent to unauthorized recipients when session history points to non-allowlisted chats.Key changes:
readChannelAllowFromStoreSyncfunction inpairing-store.ts:354-370to synchronously read allowFrom entries from both scoped and legacy storage pathsresolveWhatsAppHeartbeatRecipientsinwhatsapp-heartbeat.ts:46-94to merge configured and pairing-store allowFrom lists, then filter session recipients against this merged allowlist before selecting a targetresolveDeliveryTargetindelivery-target.ts:118-137to reroute implicit WhatsApp deliveries to the first allowlisted recipient when the session's last target is not in the merged allowFrom listConfidence Score: 5/5
Last reviewed commit: c0ddbab