mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
Merge pull request #30 from codephix/patch-1
Update whatsapp.service.ts
This commit is contained in:
commit
dcb51702e7
@ -1277,7 +1277,7 @@ export class WAStartupService {
|
|||||||
5: 'PLAYED',
|
5: 'PLAYED',
|
||||||
};
|
};
|
||||||
for await (const { key, update } of args) {
|
for await (const { key, update } of args) {
|
||||||
if (settings.groups_ignore && key.remoteJid.includes('@g.us')) {
|
if (settings?.groups_ignore && key.remoteJid.includes('@g.us')) {
|
||||||
this.logger.verbose('group ignored');
|
this.logger.verbose('group ignored');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user