fix(whatsapp): enable reactions in group chats#640
Merged
steipete merged 2 commits intoopenclaw:mainfrom Jan 10, 2026
Merged
Conversation
04f3849 to
7e6fa94
Compare
Contributor
|
Landed via temp rebase onto main.\n\n- Gate: pnpm lint (fails on main formatting in bash-tools/sandbox-explain/cli files), pnpm build, pnpm test\n- Land commit: 7e6fa94\n- Merge commit: ec10475\n\nThanks @mcinteerj! |
steipete
added a commit
that referenced
this pull request
Jan 10, 2026
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…ctions fix(whatsapp): enable reactions in group chats
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.
Summary
This PR enables the agent to successfully send reactions in WhatsApp group chats by solving two critical issues:
[message_id: ...]hints so the agent can reference them.+6421...) to JIDs (6421...@s.whatsapp.net) before sending to the server.Related
RawBody).Changes
src/web/auto-reply.ts:groupHistoriesmap to storeidandsenderJid.[message_id: ID]into stringified group history context.src/web/inbound.ts: Normalizes theparticipantJID insendReactionusingtoWhatsappJid.src/web/monitor-inbox.test.ts: Added unit test for JID normalization in reactions.Testing
Verified that
sendReactionnow receives a correctly formatted JID. Tested group history injection logic.