fix(all): Minor changes in PROD.
This commit is contained in:
parent
d7a5ef5ef2
commit
904691ca81
2 changed files with 4 additions and 6 deletions
|
@ -68,13 +68,9 @@ import pdf from 'pdf-extraction';
|
|||
import { GBSSR } from '../../core.gbapp/services/GBSSR.js';
|
||||
import { GBLogEx } from '../../core.gbapp/services/GBLogEx.js';
|
||||
import mammoth from 'mammoth';
|
||||
import { url } from 'inspector';
|
||||
import { min } from 'lodash';
|
||||
import { GBAdminService } from '../../admin.gbapp/services/GBAdminService.js';
|
||||
import { text } from 'body-parser';
|
||||
import { GBVMService } from '../../basic.gblib/services/GBVMService.js';
|
||||
import { DialogKeywords } from '../../basic.gblib/services/DialogKeywords.js';
|
||||
import { GBConversationalService } from '../../core.gbapp/services/GBConversationalService.js';
|
||||
import { GBMinService } from '../../core.gbapp/services/GBMinService.js';
|
||||
|
||||
/**
|
||||
|
|
|
@ -937,9 +937,11 @@ export class WhatsappDirectLine extends GBService {
|
|||
|
||||
switch (provider) {
|
||||
case 'GeneralBots':
|
||||
// Ignore E2E messages used during initialization.
|
||||
|
||||
// Ignore E2E messages and status updates.
|
||||
|
||||
if (req.type && req.type === 'e2e_notification') {
|
||||
if (req.type && req.type === 'e2e_notification'
|
||||
|| req.isStatus) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue