fix(all): Fix user switching on a single chip.

This commit is contained in:
Rodrigo Rodriguez 2023-09-09 16:44:53 -03:00
parent 934bafb71e
commit 12899170fd

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 !== this.min.botId) {
if (newThis && newThis.min.botId !== GBServer.globals.minBoot.botId) {
await newThis.received(req, res);
return;