mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
Fix polls in message sending
This commit is contained in:
parent
9d685da12d
commit
9e5bf93580
@ -2469,7 +2469,7 @@ export class WAStartupService {
|
||||
);
|
||||
}
|
||||
|
||||
if (!message['audio'] && sender != 'status@broadcast') {
|
||||
if (!message['audio'] && !message['poll'] && sender != 'status@broadcast') {
|
||||
this.logger.verbose('Sending message');
|
||||
return await this.client.sendMessage(
|
||||
sender,
|
||||
|
Loading…
Reference in New Issue
Block a user