[PR #878] [MERGED] feat(gowhatsapp): improve device management and persistence #879

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

📋 Pull Request Information

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

Base: masterHead: feat/go-whatsapp-improvements


📝 Commits (2)

  • f5bfee8 feat(gowhatsapp): improve device management and persistence
  • ed82fb4 fix: cs

📊 Changes

1 file changed (+312 additions, -67 deletions)

View changed files

📝 lib/Provider/Channel/GoWhatsApp/Gateway.php (+312 -67)

📄 Description

  • Add device_id persistence to database via IAppConfig
  • Implement lazy loading getDeviceId() method for device ID retrieval
  • Improve device selection with 3 clear options:
    1. Use existing device (logout others)
    2. Logout all devices and create new
    3. Create new device (keep existing)
  • Add device name prompt before creating new devices
  • Enhance device list display with ID, display name, state, and creation date
  • Update all device-scoped operations to use getDeviceId()
  • Remove unused askDeviceAction() method
  • Ensure deviceId is loaded from database across restarts

🔄 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/878 **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:** `feat/go-whatsapp-improvements` --- ### 📝 Commits (2) - [`f5bfee8`](https://github.com/nextcloud/twofactor_gateway/commit/f5bfee88dbc11319b2b663f7557538ff62a22b73) feat(gowhatsapp): improve device management and persistence - [`ed82fb4`](https://github.com/nextcloud/twofactor_gateway/commit/ed82fb44d6d83f0e68ba41b5fb1159a50db9a4fe) fix: cs ### 📊 Changes **1 file changed** (+312 additions, -67 deletions) <details> <summary>View changed files</summary> 📝 `lib/Provider/Channel/GoWhatsApp/Gateway.php` (+312 -67) </details> ### 📄 Description - Add device_id persistence to database via IAppConfig - Implement lazy loading getDeviceId() method for device ID retrieval - Improve device selection with 3 clear options: 1. Use existing device (logout others) 2. Logout all devices and create new 3. Create new device (keep existing) - Add device name prompt before creating new devices - Enhance device list display with ID, display name, state, and creation date - Update all device-scoped operations to use getDeviceId() - Remove unused askDeviceAction() method - Ensure deviceId is loaded from database across restarts --- <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:26 +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#879
No description provided.