mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-14 09:51:24 -06:00
Update whatsapp.service.ts
This commit is contained in:
parent
6b926dc697
commit
dd0c1e20a7
@ -1277,7 +1277,7 @@ export class WAStartupService {
|
||||
5: 'PLAYED',
|
||||
};
|
||||
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');
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user