Repository navigation
fix(whatsapp): normalize targets for groups and E.164 - #631
Merged
Merged
Conversation
steipete
force-pushed
the
fix-normalize
branch
from
January 10, 2026 00:32
0da889f to
888a6e3
Compare
steipete
force-pushed
the
fix-normalize
branch
from
January 10, 2026 00:42
888a6e3 to
532906a
Compare
steipete
force-pushed
the
fix-normalize
branch
from
January 10, 2026 01:23
4b525da to
f0700e9
Compare
Contributor
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
steipete
pushed a commit
that referenced
this pull request
Jan 10, 2026
25 tasks
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.
Overview
Fixes WhatsApp target normalization to properly handle both E.164 phone numbers and WhatsApp group JIDs, preventing groups from being incorrectly processed as phone numbers.
Changes
normalizeWhatsAppTarget()andisWhatsAppGroupJid()functionsnormalizeE164()calls withnormalizeWhatsAppTarget()for WhatsApp targets@g.ussuffix) are now preserved instead of being mangledBehavior
+1555123)[email protected])whatsapp:andwhatsapp:group:prefixes automaticallyFiles Changed
Total: 7 files, +118/-11 lines
Testing
normalizeWhatsAppTarget()with groups and phone numbersisWhatsAppGroupJid()with various prefix formatsExamples