fix(all): Fix user switching on a single chip.
This commit is contained in:
parent
12899170fd
commit
ae4f7c52df
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue