mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 00:55:52 +03:00
[PR #852] [MERGED] [stable32] feat: notify admin when whatsapp is unauthenticated #857
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#857
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nextcloud/twofactor_gateway/pull/852
Author: @backportbot[bot]
Created: 1/28/2026
Status: ✅ Merged
Merged: 1/28/2026
Merged by: @vitormattos
Base:
stable32← Head:backport/850/stable32📝 Commits (9)
d26c001feat(exception): add AlreadyLoggedInException for WhatsApp pairing flow08d3bcafeat(exception): add ApiConnectionException for WhatsApp API errorsc67475afeat(events): add WhatsAppAuthenticationErrorEvent for authentication failures5aaaaa7feat(listener): add NotificationListener to notify admins of WhatsApp auth failuresda9173dfeat(notification): add Notifier to format WhatsApp authentication error notifications7bc41d3feat(app): register WhatsApp event listener and notifier in Application bootstrap301d48arefactor(gateway): replace triple return type with explicit exceptionsc561fd2chore(psalm): update baseline for new exception classes6ef63fdchore: remove unused files📊 Changes
6 files changed (+177 additions, -0 deletions)
View changed files
📝
lib/AppInfo/Application.php(+6 -0)➕
lib/Events/WhatsAppAuthenticationErrorEvent.php(+15 -0)➕
lib/Listener/NotificationListener.php(+78 -0)➕
lib/Notification/Notifier.php(+65 -0)📝
lib/Provider/Channel/GoWhatsApp/Gateway.php(+5 -0)📝
tests/psalm-baseline.xml(+8 -0)📄 Description
Backport of PR #850
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.