Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(hooks): list MessageSendService among the sending gate callers
Yudhi Armyndharis1b10aa5a950c
diff --git a/src/core/hooks/sending-gate.ts b/src/core/hooks/sending-gate.tsindex b6b6639b7..5024457ee 100644--- a/src/core/hooks/sending-gate.ts+++ b/src/core/hooks/sending-gate.ts@@ -11,8 +11,9 @@ const logger = createLogger('SendingGate');* Lives here rather than on a service so callers in different modules share one implementation.* A second copy of a moderation chokepoint is a chokepoint that will eventually disagree with itself.*- * Current callers: `MessageService` (all senders + edit), `StatusService` (the three posts) and- * `CatalogService` (`sendProduct`, which ignores a rewritten `chatId` as bulk does).+ * Current callers: `MessageSendService` (every sender), `MessageService` (edit), both reporting source+ * `'MessageService'`, `StatusService` (the three posts) and `CatalogService` (`sendProduct`, which+ * ignores a rewritten `chatId` as bulk does).* `BulkMessageService` still runs its own inlined copy — it has to flag a plugin block separately* from a delivery failure so the per-item `message:failed` hook is skipped, which this signature* cannot express. If you change the gate's semantics here, change it there too