Skip to content

fix: update whatsmeow for WhatsApp protocol compatibility#208

Open
katzboaz wants to merge 1 commit intolharries:mainfrom
katzboaz:fix/update-whatsmeow-api
Open

fix: update whatsmeow for WhatsApp protocol compatibility#208
katzboaz wants to merge 1 commit intolharries:mainfrom
katzboaz:fix/update-whatsmeow-api

Conversation

@katzboaz
Copy link
Copy Markdown

@katzboaz katzboaz commented Apr 5, 2026

Summary

  • Updated go.mau.fi/whatsmeow from March 2025 to latest (March 2026) — the old version was rejected by WhatsApp with "Client outdated (405)"
  • Adapted 5 API call sites to pass context.Context as required by the new whatsmeow API: Download, sqlstore.New, GetFirstDevice, GetGroupInfo, GetContact
  • Updated all transitive dependencies (go.mau.fi/libsignal, go.mau.fi/util, golang.org/x/crypto, etc.)

Test plan

  • Bridge compiles cleanly
  • QR code pairing works
  • Message history sync completes (58K+ messages)
  • REST API /api/send works for sending messages
  • SQLite message store reads correctly

🤖 Generated with Claude Code

…bility

The previous whatsmeow version (March 2025) was rejected by WhatsApp
with "Client outdated (405)". Updated to latest release and adapted
5 API call sites to pass context.Context as now required by the new API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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