Skip to content

Commit

Permalink
Merge pull request #30 from codephix/patch-1
Browse files Browse the repository at this point in the history
Update whatsapp.service.ts
  • Loading branch information
DavidsonGomes authored Jul 26, 2023
2 parents 4769d75 + dd0c1e2 commit dcb5170
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 dcb5170

Please sign in to comment.