Default time for ping added

This commit is contained in:
rawee 2023-02-19 00:30:40 +05:30
parent f4884fe55b
commit 0bedc400c8
3 changed files with 3 additions and 3 deletions

View File

@ -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. 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- MultiMedia Message: Requirments-
| Input | Description | | Input | Description |

View File

@ -1,6 +1,6 @@
{ {
"name": "node-red-contrib-whatsapp-link", "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", "description": "Node to send and receive whatsapp messages in groups and chats. | No third party APIs",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -14,7 +14,7 @@ module.exports = function(RED) {
var clientType = n.clientType; var clientType = n.clientType;
var loopTime = n.loopTime; var loopTime = n.loopTime;
loopTime = loopTime + Math.random(); loopTime = loopTime + Math.random();
loopTime = loopTime * 60 * 60 * 1000; loopTime = loopTime * 60 * 60 * 1000 || 3600000;
var onlineStatus = n.onlineStatus; var onlineStatus = n.onlineStatus;
var whatsappConnectionStatus; var whatsappConnectionStatus;
var client var client