fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 819b5937bb - Show all commits

View file

@ -174,7 +174,7 @@ export class WhatsappDirectLine extends GBService {
await e.onExchangeData(this.min, 'whatsappMessage', message); await e.onExchangeData(this.min, 'whatsappMessage', message);
}); });
const id = req.body.messages[0].chatId.split('@')[0]; const id = req.body.messages[0].chatId.split('@')[0].replace('true_','').replace('false_','');
const senderName = req.body.messages[0].senderName; const senderName = req.body.messages[0].senderName;
const sec = new SecService(); const sec = new SecService();