new(whatsapp.gblib): New provider.

This commit is contained in:
Rodrigo Rodriguez 2022-06-12 20:11:38 -03:00
parent b9ffdcf811
commit ed902bf84d

View file

@ -334,7 +334,14 @@ export class GBMinService {
let chatapi = GBConfigService.get('CHATAPI') === 'true';
if (!chatapi) {
if (chatapi) {
if (req.body.ack){
res.status(200);
res.end();
return;
}
}else{
if (req.body.type !== 'message') {
res.status(200);
res.end();