Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(baileys): name rc14 in the join-request scope caveat
Yudhi Armyndharisc8bb65c26814
diff --git a/src/engine/adapters/baileys-events.ts b/src/engine/adapters/baileys-events.tsindex e6ef17fa1..09ec5bcf6 100644--- a/src/engine/adapters/baileys-events.ts+++ b/src/engine/adapters/baileys-events.ts@@ -805,7 +805,7 @@ export class BaileysEvents {/*** Baileys `group.join-request`: someone asked to join a group the account admins (join-approval* on). Only action 'created' maps to the neutral join_request kind — the wwebjs event has no- * revoke/reject counterpart, so only the shared signal is surfaced. Upstream scope caveat: rc13+ * revoke/reject counterpart, so only the shared signal is surfaced. Upstream scope caveat: rc14* emits this event only from the NON_ADMIN_ADD stub (172); the direct self-request stub (144) is* unhandled with an upstream TODO (Utils/process-message.js:569), so an invite-link self-request* may produce no event on this engine — the REST list endpoint still sees it. The pn twins arediff --git a/src/engine/interfaces/whatsapp-engine.interface.ts b/src/engine/interfaces/whatsapp-engine.interface.tsindex 1988f2e9d..e9141d50d 100644--- a/src/engine/interfaces/whatsapp-engine.interface.ts+++ b/src/engine/interfaces/whatsapp-engine.interface.ts@@ -657,7 +657,7 @@ export interface ReactionEvent {* surfaced), `groups.update` (subject/desc/announce/restrict), `groups.upsert` (this* session added to or joining a group; participantIds is the session's own id) and `group.join-request`* (action 'created' only — the wwebjs event has no revoke/reject counterpart, so only- * the shared signal is surfaced; rc13 itself emits the event only for non-admin-add+ * the shared signal is surfaced; rc14 itself emits the event only for non-admin-add* requests — the direct self-request stub 144 is unhandled upstream, marked TODO at* Utils/process-message.js:569 — so an invite-link self-request may not fire on Baileys).* All ids are in the neutral dialect (`@g.us` / `@c.us`; a lid stays `<id>@lid` when the