fix(whatsapp.gblib): Removal of trash in phone ID.
This commit is contained in:
parent
30cdef67ee
commit
819b5937bb
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ export class WhatsappDirectLine extends GBService {
|
|||
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 sec = new SecService();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue