raweee / node-red-contrib-whatsapp-link

Simple Node-Red node to link Whatsapp
https://discord.gg/VApVeGuF
27 stars 7 forks source link

Client name in configuration and profile dir #23

Closed odv1983 closed 1 year ago

odv1983 commented 1 year ago

Hi, please add client name to client configuration and add the parameter bellow to args in puppeteer, this will able to connect more clients, based in Chromium profiles.

'--user-data-dir=/user/data/directory/profile_n' To help: https://stackoverflow.com/questions/53236692/how-to-use-chrome-profile-in-puppeteer

raweee commented 1 year ago

Multiple user profile will mix all the messages.

odv1983 commented 1 year ago

My suggestion worked for me as I inform in this pull request: https://github.com/raweee/node-red-contrib-whatsapp-link/pull/25

I don't think I did it the best way, but it worked here :)