new(whatsapp.gblib): New provider.
This commit is contained in:
parent
b9ffdcf811
commit
ed902bf84d
1 changed files with 8 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue