From 5a3e1d62c4fd9c42d98dbd8586842ca7cadef321 Mon Sep 17 00:00:00 2001 From: Odair Victoriano Date: Sat, 4 Mar 2023 22:30:34 -0300 Subject: [PATCH] Update whatsappLink.js To use Chromium profiles, and connect more than 1 whatsapp account. --- whatsappLink.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/whatsappLink.js b/whatsappLink.js index fbcb557..ff07576 100644 --- a/whatsappLink.js +++ b/whatsappLink.js @@ -29,7 +29,7 @@ module.exports = function(RED) { }), puppeteer : { headless : true, - args : ['--no-sandbox', '--disable-setuid-sandbox'] + args : ['--no-sandbox', '--disable-setuid-sandbox', '--user-data-dir=' + node.id] } }); @@ -263,4 +263,4 @@ Participants : ${chat.groupMetadata.size}` } RED.nodes.registerType("whatsappLink",RemoteClientNode); -} \ No newline at end of file +}