Skip to content

fix(whatsapp): resolve LID sender IDs to phone numbers in bridge payload (#3219 salvage) - #807

Merged
hashbender merged 1 commit into
mainfrom
mirror/pr-56999
Jul 2, 2026
Merged

fix(whatsapp): resolve LID sender IDs to phone numbers in bridge payload (#3219 salvage)#807
hashbender merged 1 commit into
mainfrom
mirror/pr-56999

Conversation

@hashbender

Copy link
Copy Markdown
Owner

Summary

WhatsApp LID sender IDs (@lid) are now resolved to phone numbers in the bridge message payload, so phone-based allowlists (WHATSAPP_ALLOWED_USERS) match senders whose messages arrive under Meta's anonymized LID addressing.

Salvage of NousResearch#3219 — commit authored by Roger Smith (@r0gersm1th), PR by @ajmeese7; cherry-picked onto current main with commit authorship preserved (the PR's two other commits were merge-from-main noise).

Changes

  • scripts/whatsapp-bridge/bridge.js: resolve senderId/senderName/chatName through the existing lidToPhone map before building the event payload
  • scripts/release.py: AUTHOR_MAP entry

Validation

Result
node --check bridge.js syntax ok
lidToPhone map + rebuild-on-creds-update already present on main; change slots into current const event block unchanged

Infographic

infographic

Nous Research


Mirror-of: NousResearch#56999
NousResearch#56999

@hashbender
hashbender merged commit aa99ab4 into main Jul 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant