mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-23 13:52:15 -06:00
Fix polls in message sending
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user