@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.
Files changed (2) hide show
  1. package/index.js +5 -0
  2. 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-whatsapp-connector",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "Tiledesk Whatsapp connector",
5
5
  "main": "index.js",
6
6
  "scripts": {