fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit ae4f7c52df - Show all commits

View file

@ -318,7 +318,7 @@ export class WhatsappDirectLine extends GBService {
// If there is a number specified, checks if it
// is related to a custom bot and reroutes immediately.
if (newThis && newThis.min.botId !== GBServer.globals.minBoot.botId) {
if (newThis !== this && newThis.min.botId !== GBServer.globals.minBoot.botId) {
await newThis.received(req, res);
return;