Skip to content

Commit

Permalink
Update whatsapp.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
codephix authored Jul 25, 2023
1 parent 6b926dc commit dd0c1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whatsapp/services/whatsapp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dd0c1e2

Please sign in to comment.