mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
fix: Fixed bug when send message when dont have mentionsEveryOne on payload
This commit is contained in:
parent
01ae55f02a
commit
fcfa96d97d
@ -1914,7 +1914,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
throw new NotFoundException('Group not found');
|
||||
}
|
||||
|
||||
if (options.mentionsEveryOne) {
|
||||
if (options?.mentionsEveryOne) {
|
||||
mentions = group.participants.map((participant) => participant.id);
|
||||
} else if (options.mentioned?.length) {
|
||||
mentions = options.mentioned.map((mention) => {
|
||||
|
Loading…
Reference in New Issue
Block a user