You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
borja 5c1d2f2251 fix: prevent user DMs from being treated as groups in gating
handleGroupDiscovery and handleGroupEnforcement lacked isGroupId()
guards, causing user JIDs (e.g. 1234567890@s.whatsapp.net) to be
incorrectly registered as 'pending' groups in discover mode, and
silently blocked in enforce mode.

Added isGroupId() bail-out at the top of both functions, matching the
existing pattern in ensureGroupActive(). Added 5 regression tests
covering both modes for DMs and preserving correct group behavior.
1 month ago
..
helpers refactor: webhook handler, group sync, command handlers, tests 1 month ago
unit fix: prevent user DMs from being treated as groups in gating 1 month ago
web refactor: webhook handler, group sync, command handlers, tests 1 month ago
setup.ts test: añadir helpers de DB en memoria y setup de pruebas 9 months ago