@tiledesk/tiledesk-whatsapp-connector 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +5 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -460,6 +460,11 @@ router.post('/tiledesk', async (req, res) => {
|
|
|
460
460
|
return res.send(200);
|
|
461
461
|
}
|
|
462
462
|
|
|
463
|
+
if (attributes && attributes.subtype === 'info/support') {
|
|
464
|
+
console.log("Skip subtype: ", attributes.subtype);
|
|
465
|
+
return res.send(200);
|
|
466
|
+
}
|
|
467
|
+
|
|
463
468
|
let recipient_id = tiledeskChannelMessage.recipient;
|
|
464
469
|
console.log("(Tiledesk) Recipient_id: ", recipient_id);
|
|
465
470
|
|