mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-22 20:12:02 -06:00
Merge pull request #375 from judsonjuniorr/poll-sending
Fix polls in message sending
This commit is contained in:
commit
7f74de07ed
@ -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