[PR #872] [MERGED] fix: support go-whatsapp-web-multidevice v8 device_id requirement #873

Closed
opened 2026-02-26 06:32:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/872
Author: @vitormattos
Created: 2/10/2026
Status: Merged
Merged: 2/10/2026
Merged by: @vitormattos

Base: masterHead: fix/go-whatsapp-device-id-support


📝 Commits (2)

  • 9eda267 fix: support go-whatsapp-web-multidevice v8 device_id requirement
  • be93078 psalm: update baseline

📊 Changes

2 files changed (+50 additions, -3 deletions)

View changed files

📝 lib/Provider/Channel/GoWhatsApp/Gateway.php (+48 -3)
📝 tests/psalm-baseline.xml (+2 -0)

📄 Description

  • Update configuration flow to handle v8 API breaking changes
  • Automatically create device during URL validation (POST /devices)
  • Fetch and reuse existing devices from /app/devices endpoint
  • Simplify device creation logic for reliability

The go-whatsapp-web-multidevice v8 now requires device_id for all /app/* endpoints when supporting multiple WhatsApp accounts. This fix automatically creates and manages devices to ensure compatibility.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nextcloud/twofactor_gateway/pull/872 **Author:** [@vitormattos](https://github.com/vitormattos) **Created:** 2/10/2026 **Status:** ✅ Merged **Merged:** 2/10/2026 **Merged by:** [@vitormattos](https://github.com/vitormattos) **Base:** `master` ← **Head:** `fix/go-whatsapp-device-id-support` --- ### 📝 Commits (2) - [`9eda267`](https://github.com/nextcloud/twofactor_gateway/commit/9eda26733f9454aacaf21918bfef16985aa6c753) fix: support go-whatsapp-web-multidevice v8 device_id requirement - [`be93078`](https://github.com/nextcloud/twofactor_gateway/commit/be93078d489d88633332d3c23bd7ce5c7d20492f) psalm: update baseline ### 📊 Changes **2 files changed** (+50 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `lib/Provider/Channel/GoWhatsApp/Gateway.php` (+48 -3) 📝 `tests/psalm-baseline.xml` (+2 -0) </details> ### 📄 Description - Update configuration flow to handle v8 API breaking changes - Automatically create device during URL validation (POST /devices) - Fetch and reuse existing devices from /app/devices endpoint - Simplify device creation logic for reliability The go-whatsapp-web-multidevice v8 now requires device_id for all /app/* endpoints when supporting multiple WhatsApp accounts. This fix automatically creates and manages devices to ensure compatibility. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 06:32:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#873
No description provided.