Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

Merge remote-tracking branch 'origin/main' into fix/baileys-group-create-join

Yudhi Armyndharised85ee5d2c88
diff --cc CHANGELOG.md
index 5006e1fe4,02a6603be..a5c7f9ca1
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -27,7 -27,7 +27,8 @@@ and this project adheres to [Semantic V
- A failed start in the dashboard that left no engine shows the gateway's error in a toast.
- The dashboard closes a session's QR modal when the session fails, or disconnects with no engine left, instead of leaving it spinning.
- The dashboard disables a session's Start and Reconnect buttons while its start request is in flight.
+ - whatsapp-web.js sessions no longer report a call rejection that did not stop the call: the call reject route answers `501` and `autoRejectCalls` logs a failed auto-reject.
+- A Baileys session added to or joining a group emits `group.join`, as whatsapp-web.js already did.
### Documentation
diff --cc docs/29-engine-capability-matrix.md
index ed5582703,fe858ca2a..694d84841
--- a/docs/29-engine-capability-matrix.md
+++ b/docs/29-engine-capability-matrix.md
@@@ -979,13 -973,15 +973,15 @@@ adapter sources — re-derive the same
3 internal wiring, 1 class plumbing, **34 ❌ not exposed** (26 real capabilities + 8
session/transport settings that are not WhatsApp capabilities). The backlog is the ❌ rows minus
those 8 settings; 🔩 plumbing is correctly never exposed.
-- Events: Baileys **34** (15 consumed / 19 dropped), wwjs **31** (16 consumed / 15 dropped).
+- Events: Baileys **34** (16 consumed / 18 dropped), wwjs **31** (16 consumed / 15 dropped).
- **0** capabilities in 29.5.3: every capability with first-class symbols on both libraries is
- either wired or classified with evidence. Two of them are Baileys-only despite typed
- whatsapp-web.js symbols — `demoteChannelAdmin`, whose page function WhatsApp Web no longer
- provides, and `transferChannelOwnership`, whose page function rejects locally against a
- subscriber list it cannot repopulate (both in 29.6.2). Both answer 501 on wwjs. `.d.ts` presence
- is not capability, and only a live call distinguishes the two.
+ either wired or classified with evidence. Some are Baileys-only despite typed whatsapp-web.js
+ symbols: `createGroup`, whose injected evaluate reaches a page internal without `findImpl`;
+ `demoteChannelAdmin`, whose page function WhatsApp Web no longer provides;
+ `transferChannelOwnership`, whose page function rejects locally against a subscriber list it
+ cannot repopulate; and `rejectCall`, whose `Call.reject()` resolves while the caller's phone
+ keeps ringing (all in 29.6.2). Each answers 501 on wwjs. `.d.ts` presence is not capability, and
+ only a live call distinguishes the two.
- **9** install-time patches (7 whatsapp-web.js + 2 Baileys), all exact and self-disabling.
- **0 phantom-support rows** — every `not-available` cell throws at the adapter boundary.
- Remaining adapter-gaps (fixable in this repo, ranked): **#1** `getChannelMessages` (Baileys —