Skip to content

fix: propagate WhatsApp reply context#16552

Open
tkwong wants to merge 1 commit into
NousResearch:mainfrom
tkwong:fix/whatsapp-reply-context
Open

fix: propagate WhatsApp reply context#16552
tkwong wants to merge 1 commit into
NousResearch:mainfrom
tkwong:fix/whatsapp-reply-context

Conversation

@tkwong

@tkwong tkwong commented Apr 27, 2026

Copy link
Copy Markdown

Summary

  • extract quoted message id and text from Baileys contextInfo in the WhatsApp bridge
  • pass quoted reply metadata through the WhatsApp adapter into MessageEvent.reply_to_message_id / reply_to_text
  • add regression tests covering event construction and gateway reply-context injection

Test Plan

  • /opt/homebrew/bin/node --check scripts/whatsapp-bridge/bridge.js
  • pytest tests/gateway/test_whatsapp_reply_context.py tests/gateway/test_whatsapp_group_gating.py -q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists platform/whatsapp WhatsApp Business adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants