We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c87702 + df0990d commit 6212ee3Copy full SHA for 6212ee3
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -2131,7 +2131,7 @@ export class BaileysStartupService extends ChannelStartupService {
2131
2132
if (options?.mentionsEveryOne) {
2133
mentions = group.participants.map((participant) => participant.id);
2134
- } else if (options.mentioned?.length) {
+ } else if (options?.mentioned?.length) {
2135
mentions = options.mentioned.map((mention) => {
2136
const jid = this.createJid(mention);
2137
if (isJidGroup(jid)) {
0 commit comments