new(all): Custom Domain support per bot.
This commit is contained in:
parent
25342e90fe
commit
a12c3383a1
1 changed files with 3 additions and 0 deletions
|
@ -204,6 +204,9 @@ export class WhatsappDirectLine extends GBService {
|
|||
|
||||
client.on('authenticated', async () => {
|
||||
this.browserWSEndpoint = client.pupBrowser.wsEndpoint();
|
||||
|
||||
// Keeps the chat list cleaned.
|
||||
|
||||
const chats = await client.getChats();
|
||||
await CollectionUtil.asyncForEach(chats, async chat => {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue