Skip to content

Commit

Permalink
fix(all): Minor changes in PROD.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Jul 9, 2023
1 parent d7a5ef5 commit 904691c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions packages/kb.gbapp/services/KBService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down
6 changes: 4 additions & 2 deletions packages/whatsapp.gblib/services/WhatsappDirectLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 904691c

Please sign in to comment.