Skip to content

fix: move getPlatformId patch to whatsapp-auth.ts#88

Merged
gavrielc merged 1 commit into
mainfrom
fix/whatsapp-auth-platform-id
Apr 1, 2026
Merged

fix: move getPlatformId patch to whatsapp-auth.ts#88
gavrielc merged 1 commit into
mainfrom
fix/whatsapp-auth-platform-id

Conversation

@gavrielc

@gavrielc gavrielc commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove getPlatformId monkey-patch from src/channels/whatsapp.ts (runtime channel — not where pairing runs)
  • Add it to src/whatsapp-auth.ts where the pairing code flow actually executes

Test plan

  • Pair a new device using pairing code and confirm it connects successfully

🤖 Generated with Claude Code

The patch was applied to whatsapp.ts (runtime channel) but the pairing
code flow runs through whatsapp-auth.ts. Move it to the correct file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gavrielc gavrielc requested a review from gabi-simons as a code owner April 1, 2026 09:59
@gavrielc gavrielc merged commit 42b3117 into main Apr 1, 2026
1 of 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