Repository navigation
fix(chatwoot): group message without participant or with LID no longer kills the sink (xmacna/elysium#961) - #5
Merged
Conversation
…r kills the sink (xmacna/elysium#961) The group branches of eventWhatsapp called participant.split() without a guard and parsePhoneNumberFromString(...).formatInternational() without checking the result. Group messages with no participant, or with a LID participant and no participantAlt, threw a TypeError; in enforce the durable inbox retried the receipt 10 times and marked it dead. Resolve the participant as participantAlt (LID addressing) -> participant -> participantAlt, show the raw identifier for LIDs or unparsable numbers, and drop the identifier from the header when there is none. MAR-552 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…f939-6h3c) Runtime audit gate of validate-inbound-inbox-source fails on 1.16.0. Lockfile-only bump within axios range. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 the Chatwoot sink for group messages without
participantor with a LID participant (xmacna/elysium#961). Before this,TypeError ... 'split'/'formatInternational'made the receiptdeadafter 10 attempts inenforcemode.chatwootGroupParticipant.ts: participant =participantAlt(LID, not fromMe) ->participant->participantAlt; LID or unparseable number shows the raw identifier; no identifier shows only the pushName.chatwoot.service.ts(media and text) use the helper.follow-redirects1.16.1 (GHSA-q3jh-wrc6-jgq8, GHSA-8r9p-f939-6h3c), lockfile only, needed for thenpm auditgate.Proof:
test/xmacna-chatwoot-group-participant.test.ts7/7; counter-proof against the original service reproduces the TypeError.test:xmacna-inbox76/76,validate-inbound-inbox-sourcePostgreSQL 3/3 (incl. 840 concurrent deliveries), runtime audit 0.candidate-release(evolution-api-candidate@sha256:a6d1c379e2c7…) and live on the default Evolution since 2026-10-21 03:18Z (MAR-552). This merge makesmainmatch the running runtime.🤖 Generated with Claude Code