fix(all): Fix answers with dialog id working again.
This commit is contained in:
parent
8c098c8dee
commit
2a6f64f238
1 changed files with 3 additions and 1 deletions
|
@ -276,7 +276,9 @@ export class WhatsappDirectLine extends GBService {
|
||||||
public async check() {
|
public async check() {
|
||||||
switch (this.provider) {
|
switch (this.provider) {
|
||||||
case 'GeneralBots':
|
case 'GeneralBots':
|
||||||
return this.customClient.getState() === 'CONNECTED';
|
const state = this.customClient.getState();
|
||||||
|
GBLog.verbose(`GBWhatsapp: Status: ${state}`);
|
||||||
|
return state === 'CONNECTED';
|
||||||
|
|
||||||
default:
|
default:
|
||||||
GBLog.verbose(`GBWhatsapp: Checking server...`);
|
GBLog.verbose(`GBWhatsapp: Checking server...`);
|
||||||
|
|
Loading…
Add table
Reference in a new issue