diff --git a/README.md b/README.md index dea25e9..3ff6871 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Admin Node generate QR Code just below the node for easy connection with whatsap 3. **Chats / Group Out** : As simple as mention on name, node will send `msg.payload` recived at input to the number mentioned in node. -A reply to All example is avilable in examples to import. +`A-reply-to-All.json` example is avilable in examples to import. MultiMedia Message: Requirments- | Input | Description | diff --git a/package.json b/package.json index a836732..7e0fd64 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-whatsapp-link", - "version": "0.1.36", + "version": "0.1.36A", "description": "Node to send and receive whatsapp messages in groups and chats. | No third party APIs", "repository": { "type": "git", diff --git a/whatsappLink.js b/whatsappLink.js index 0ec57e0..fbcb557 100644 --- a/whatsappLink.js +++ b/whatsappLink.js @@ -14,7 +14,7 @@ module.exports = function(RED) { var clientType = n.clientType; var loopTime = n.loopTime; loopTime = loopTime + Math.random(); - loopTime = loopTime * 60 * 60 * 1000; + loopTime = loopTime * 60 * 60 * 1000 || 3600000; var onlineStatus = n.onlineStatus; var whatsappConnectionStatus; var client